BowerStudios.com

  • My Lab
  • Family
  • Friends
  • Professional
  • About
Home

Zipping on linux

daniel —Thu, 03/26/2009 - 1:27pm

  • BSD

Usually I use tar.gz files on linux. I create them with
tar -cvzf filenameToCreate.tar.gz dirToZip1 dirToZip2 fileToZip1...

Switch for excluding subdirectories/files today:
tar -cvzf filenameToCreate.tar.gz dirToZip1 dirToZip2 fileToZip1... -exclude pathToFileX

Switch to exclude version control system data - cvs, subversion etc
tar -cvzf filenameToCreate.tar.gz --exclude-vcs dirToZip1 dirToZip2

unzip with:
tar -xvzf filenameToUnzip

which will unzip the file in the current directory

  • Log in to post comments

Comments

Additional metadata for search

Submitted by daniel on Thu, 09/29/2011 - 3:23pm

Remove subversion ( SVN ) directories from a project

  • Log in to post comments

Navigation

  • Search
  • Recent content
  • Contact Me
  • Mail
  • Pass Hasher
  • Bower Studios Admin

Quotes

daniel —Tue, 06/19/2007 - 6:07pm

It is always the best policy to speak the truth--unless, of course, you are an exceptionally good liar.

—

Jerome K. Jerome

  • Log in to post comments
  • daniel's quotes

Popular content

Last viewed:

  • /boot partition is full
  • Grails Console - could not initialize proxy - no Session
  • Red Green 503
  • Gradle: The <xxxxxx> type doesn't support nested text data
  • Change fonts size for SquirrelSql and other Java Swing Apps for hidpi monitors

Copyright 2022 Daniel Bower
  • My Lab
  • Family
  • Friends
  • Professional
  • About