1
0
Fork 0
mirror of https://github.com/sbrl/bin.git synced 2018-01-10 21:33:46 +00:00

Make senddir work with paths that have spaces

This commit is contained in:
Starbeamrainbowlabs 2017-01-15 10:18:41 +00:00
parent 8ec2bc51bb
commit 1b9e7dc5cd

View file

@ -8,4 +8,4 @@ if [ "$#" -ne 2 ]; then
exit
fi
tar cf - $1 | pv | gzip | nc -l $2
tar cf - "${1}" | pv | gzip | nc -l $2