2
2
I'm using sftp batch scripts to automate some file transfers.
Is there a syntax for putting comments in the batch files?
For example:
sftp -b mybatchscript.sftp nick@server
Where mybatchscript.sftp
contains:
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
Thanks.
EDIT
Ok - it turns out that my guess at a commenting format works just fine.