change how mounts are listed
This commit is contained in:
@@ -8,14 +8,18 @@ _helpexit() {
|
||||
-u will unmount all FUSE.rclone paths if no path given!
|
||||
|
||||
" "$( basename $0 )"
|
||||
echo Current mounts:
|
||||
cat /proc/mounts | grep fuse.rclone | awk '{ print $1 "\t" $2 }'
|
||||
_current_mounts
|
||||
exit 1
|
||||
}
|
||||
|
||||
_current_mounts() {
|
||||
echo Current mounts:
|
||||
cat /proc/mounts | grep fuse.rclone | awk '{ print $1 " " $2 }' | sed "s,$HOME,~," | xargs printf "%15s %s\n"
|
||||
}
|
||||
|
||||
|
||||
_menu() {
|
||||
echo Current mounts:
|
||||
cat /proc/mounts | grep fuse.rclone | awk '{ print $1 "\t" $2 }'
|
||||
_current_mounts
|
||||
_askpass
|
||||
choice=$( rclone --ask-password=false listremotes | \
|
||||
sort | \
|
||||
|
||||
Reference in New Issue
Block a user