From 25730d4bffa8c956090987344c8cd70ebdf47ac8 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Wed, 17 Jul 2019 16:58:12 +0200 Subject: Created scripts to copy and move files using .paths file --- move.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 move.sh (limited to 'move.sh') diff --git a/move.sh b/move.sh new file mode 100755 index 0000000..42b3384 --- /dev/null +++ b/move.sh @@ -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" -- cgit v1.2.1