xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit 41a61b1c4b4ccb93847ada704513f44a0cd1ca82

Add more details about what vifm-media supports
Add them to the top comment of the script.
Author: xaizek
Author date (UTC): 2024-04-24 11:56
Committer name: xaizek
Committer date (UTC): 2024-04-25 16:28
Parent(s): 83e36c50e151f80b1d4881da07be7e48ab6a7fd4
Signing key: 99DC5E4DB05F6BE2
Tree: a351b301f85bb8250d692de05951011ad40ee438
File Lines added Lines deleted
data/vifm-media 10 0
File data/vifm-media changed (mode: 100755) (index 432b0b031..c3b0a660e)
1 1 #!/bin/bash #!/bin/bash
2 2
3 3 # This script is meant to support common media managing utilities. # This script is meant to support common media managing utilities.
4 #
4 5 # Parameters: # Parameters:
5 6 # - list -- list media # - list -- list media
6 7 # - mount <device> -- mount a device # - mount <device> -- mount a device
7 8 # - unmount <path> -- unmount given mount point # - unmount <path> -- unmount given mount point
9 #
10 # Supported utilities (only one is used, listed higher to lower priority):
11 # - udevil: udisks-like command-line tool with no D-Bus or daemon
12 # requirements: `udevil` and `devmon` commands (both are part of udevil)
13 # - udisks: first vesion of disk management D-Bus daemon
14 # requirements: `udisks` and `umount` commands
15 # - udisks2: second vesion of disk management D-Bus daemon
16 # requirements: `udisksctl` and either `python2` or `python3` with "dbus"
17 # module
8 18
9 19 function usage_error() { function usage_error() {
10 20 echo "Usage: vifm-media list | mount <device> | unmount <path>" echo "Usage: vifm-media list | mount <device> | unmount <path>"
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master