diff options
-rwxr-xr-x | copy.sh | 7 | ||||
-rwxr-xr-x | move.sh | 7 |
2 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,7 @@ +#!/bin/sh + +# Receives a filename as argument and copies it to a folder selecting it with fzf + +filename="$1" +target="$(selectPathFzf.sh "Copy to: ")" +cp "$filename" "$target" @@ -0,0 +1,7 @@ +#!/bin/sh + +# Receives a filename as argument and moves it to a folder selecting it with fzf + +filename="$1" +target="$(selectPathFzf.sh "Move to: ")" +mv "$filename" "$target" |