I just accidentily wiped one of my script folders. Really no big deal, I'm not 
doing multiK scripts. But I had one nice script laying around. It created an 
additional window in a named screen session and started a bittorrentheadless 
session within.

I do remember that it took me some days to solve this last time, and I have 
only been sitting three hours so far. (No, I don't recall the exact syntax).


I'm struggeling with this script now:

#!/bin/bash
echo "Starting download: $1"
screen -r p2pA -X screen "nice -n 20 
/usr/local/BitTorrent-3.4.2/btdownloadheadless.py --max_uploads 4 \"$1\""


But it just don't do anything useful.

If I run that line from prompt, replacing $1 with a filename, then it works. 
It's surely something to do with citationmarks around arguments etc. but I just 
don't see it. 



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to