I'm using sftp batch scripts to automate some file transfers.
Is there a syntax for putting comments in the batch files?
sftp -b mybatchscript.sftp nick@server
cd mydir get *.txt get *.dat
I'd like to have something similar to:
cd mydir # Fetch all text files get *.txt # Fetch all data files get *.dat
Ok - it turns out that my guess at a commenting format works just fine.