When on a linux server, it’s handy to know how to zip-up or unzip tar files. Here’s how you do it:
Tar Up
tar cvzf file.tar directory
UnTar (Unzip)
tar xzvf file.tar
Reference: http://www.cs.duke.edu/~ola/courses/programming/tar.html
A code-heavy brain dump of stuff I come across working on Ruby on Rails projects including Models, ActiveRecord, Views, Controllers, RESTful rails, deployment, server stuff, etc.
When on a linux server, it’s handy to know how to zip-up or unzip tar files. Here’s how you do it:
Tar Up
tar cvzf file.tar directory
UnTar (Unzip)
tar xzvf file.tar
Reference: http://www.cs.duke.edu/~ola/courses/programming/tar.html