added various functions for mounting android and copying data

master
Anton Lydike 5 years ago
parent e40f488757
commit 7f509ac533

@ -0,0 +1,4 @@
# Defined in /tmp/fish.x8fmPB/copy.fish @ line 2
function copy
bash -c "cp -r '$argv[1]' '$dest'; echo -e \\nCopy of '$argv[1]' complete" &
end

@ -0,0 +1,10 @@
# Defined in /tmp/fish.UD1xYr/mount-android.fish @ line 2
function mount-android
if test "$argv[1]" = '-u'
sudo fusermount -u /tmp/android
and echo "Unmounted android device"
else
mkdir -p /tmp/android
sudo jmtpfs -o allow_other,auto_unmount /tmp/android
end
end
Loading…
Cancel
Save