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