aboutsummaryrefslogtreecommitdiff
path: root/move.sh
diff options
context:
space:
mode:
Diffstat (limited to 'move.sh')
-rwxr-xr-xmove.sh7
1 files changed, 7 insertions, 0 deletions
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"