Replies: 2 comments 2 replies
-
cmd paste-overwrite %{{
mode=$(head -1 ~/.local/share/lf/files)
list=$(sed 1d ~/.local/share/lf/files)
if [ $mode = 'copy' ]; then
cp -r $list .
elif [ $mode = 'move' ]; then
mv $list .
fi
lf -remote 'send load'
lf -remote 'send clear'
}} |
Beta Was this translation helpful? Give feedback.
1 reply
-
I use this to copy/cut files with progress:
You could use pv to show better progress with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be nice if there was a another paste command (example paste-overwrite) that would not use dupfilefmt in case of duplication of the file, but would overwrite the file.
Beta Was this translation helpful? Give feedback.
All reactions