aboutsummaryrefslogtreecommitdiff
path: root/move.sh
blob: 42b3384d6c4ff0c189f10742563bb57a0c5e88c7 (plain)
1
2
3
4
5
6
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"