From f0e0e163c16d9b784065d8eda93845141c0a475f Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Thu, 12 Sep 2019 17:13:43 +0200 Subject: Modified copy.sh and move.sh so they work with multiple files. --- copy.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'copy.sh') diff --git a/copy.sh b/copy.sh index 402d84e..0e8bb38 100755 --- a/copy.sh +++ b/copy.sh @@ -1,7 +1,6 @@ #!/bin/sh -# Receives a filename as argument and copies it to a folder selecting it with fzf +# Receives filenames as arguments and copies them to a folder selected with fzf -filename="$1" target="$(selectPathFzf.sh "Copy to: ")" -cp "$filename" "$target" +cp "$@" "$target" -- cgit v1.2.1