Here’s another useful command line utility – Secure Copy or SCP, that allows you to securely transfer computer files between a local and a remote host. sudo scp localfile.dmg remoteuser(at)somehost.com://pathtoupload/ Much neater that using an SFTP client no? Thanks to my work colleague Luke for bringing this to my attention 🙂 Marko
Read More
Just a quick one for my reference. To create a jar package from a list of Java classes, use the following command in terminal: jar cf jarredfile.jar directory_to_jar Marko
Read More
I’ve been using command line for zipping and ‘tarring’ for a while and never really needed to exclude directories from the archive. I had to do this today and I worked out that I had to use absolute paths to achieve this. The following examples will exclude multiple directories from tar and zip archives respectively: […]
Read More