Sup guys, I needed a way to backup a list of dir's easily, so I put together a quick script to download them via SFTP.
Here it is if anyone wants to use it, just edit the user var's to fit your needs... It's written in ruby so it should work on both OS X and Windows (as long as you have ruby installed), and requires the net/ssh and net/sftp libraries which can both be installed as gems. Run with no args for usage.
http://pastie.org/218584
-brando
Here it is if anyone wants to use it, just edit the user var's to fit your needs... It's written in ruby so it should work on both OS X and Windows (as long as you have ruby installed), and requires the net/ssh and net/sftp libraries which can both be installed as gems. Run with no args for usage.
http://pastie.org/218584
-brando