scripts

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

commit f78f52af1c7701b7bb25d72cde6231ed758b6d72
parent 88075cc40662116c136537ca7d967ed194c090c2
Author: sin <sin@2f30.org>
Date:   Thu, 28 Nov 2013 13:51:22 +0000

Fix alignment

Diffstat:
Mitor | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/itor b/itor @@ -58,7 +58,7 @@ while read f; do done < $listing # Taken from: http://www.etalabs.net/sh_tricks.html -quote () { printf %s\\n "$1" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/'/" ; } +quote() { printf %s\\n "$1" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/'/" ; } quoted=$(quote "$rdir/$f") rsync --partial --progress -av -e ssh $host:"$quoted" "$ldir"