scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 29178da4f8d23e4dd82f03bfc826463e4839e368
parent fc8cd57094d00ccd8ad39e09db7ef0ca4eb809a3
Author: sin <sin@2f30.org>
Date:   Tue, 26 Nov 2013 21:13:42 +0000

Escape filename

Diffstat:
Mdestiny-get | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/destiny-get b/destiny-get @@ -33,6 +33,7 @@ while read line; do ((idx=idx+1)) done < $listing -rsync --partial --progress -av -e ssh destiny:"torrents/$line" torrents +escapedline=$(echo ${line// /\\ }) +rsync --partial --progress -av -e ssh destiny:"torrents/$escapedline" torrents rm $listing