skip to main
|
skip to sidebar
Keeping Forward
Friday, December 02, 2011
exclude directories when using GNU tar
tar zvcf name.tar.gz --exclude path/to/dir1 --exclude path/to/dir2 path/to/tar
Note:
Do not include a trailing '/' in the path of excluded directories. Otherwise, it won't work.
Put --exclude before the directory/file to be tarred.
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Gerald Guo
View my complete profile
Subscribe To
Posts
Atom
Posts
Comments
Atom
Comments
Popular Posts
MySQL error 1045(28000): Access denied for user ...
Problem I have a database called hibernate in my MySQL server and I grant privileges to a user using this command > grant all on hibern...
Edit binary file in hex mode in vim
It will be nice if we can edit binary file directly in vim. VIM provides basic support which has a few restrictions. (1) Open a binary file ...
Install and Configure MySQL as a non-root user on Linux
Recently, I want to install MySQL on a server in my lab. It should not be difficult considering the wide usage of MySQL. I must install MySQ...
Text formatting in VIM
How to set options for VIM? using set command. Examples: Setting Explanation set paste set options for commands that don't need p...
Version matching of JSP, JSTL and Servlet
Working with JSP, JSTL, Servlet and Container is not an easy job if you download and configure every part by yourself. The most important pr...
Recent Comments
Blog Archive
►
2012
(2)
►
February
(2)
►
Feb 19
(1)
implement readLine using read
►
Feb 18
(1)
How to delete the blank page after a table in Micr...
▼
2011
(23)
▼
December
(4)
►
Dec 12
(1)
RabbIT
▼
Dec 02
(3)
Memory allocation settings in Hadoop
Change ports used by Hadoop
exclude directories when using GNU tar
►
November
(1)
►
Nov 18
(1)
Install RPM packages with non-root account
►
October
(5)
►
Oct 27
(1)
Add "Edit with Vim" item to context-menu in Window...
►
Oct 17
(1)
Logging in Hadoop
►
Oct 09
(2)
pdf to eps conversion
Brief Latex notes for equations
►
Oct 08
(1)
Make vim-latex to generate output in a specified d...
►
September
(5)
►
Sep 19
(1)
How to publish artifacts to ivy local repository a...
►
Sep 18
(1)
Configure ivy to use local Maven repository
►
Sep 13
(1)
Vdbench notes
►
Sep 09
(1)
R notes
►
Sep 05
(1)
How to get network information in Linux
►
July
(1)
►
Jul 08
(1)
How to see network card and disk speed
►
May
(2)
►
May 12
(2)
Hadoop datanode version control
How to install user-provided jars to Hadoop
►
April
(3)
►
Apr 15
(1)
Debug/profile heap/gc in Java
►
Apr 14
(1)
Eucalyptus notes
►
Apr 08
(1)
How to decommission nodes/blacklist nodes
►
March
(2)
►
Mar 19
(1)
Japan earthquake GPS data visualization gadget
►
Mar 02
(1)
Install ns2 (ns-2.33) on Ubuntu Maverick
►
2010
(45)
►
December
(8)
►
Dec 31
(1)
Hadoop tips
►
Dec 23
(1)
Extract some continuous lines from a file
►
Dec 17
(1)
vim quickfix and location list
►
Dec 16
(1)
Compile and Install vim on Linux
►
Dec 15
(1)
Delete executables and object (.o) files
►
Dec 13
(3)
How to change hostname in Ubuntu
Ubuntu init scripts and upstart jobs
Recover corrupted partition table
►
November
(14)
►
Nov 28
(2)
printf cheatsheet
Some Hard Drive and File System benchmark tools
►
Nov 25
(2)
Permission of authorized_keys and private key file...
awk/gawk notes
►
Nov 14
(4)
XLink
Google AppEngine mail test
Deb package manipulation notes (deb make, view, in...
How to build Hadoop in Eclipse
►
Nov 10
(2)
package installation log on Ubuntu (dpkg, apt-get,...
paratrac on Ubuntu
►
Nov 09
(1)
Python in Ubuntu/Debian
►
Nov 06
(2)
euca2tools
Install a package from Debian repository for Ubunt...
►
Nov 03
(1)
"Twitter is over capacity"
►
October
(8)
►
Oct 30
(1)
Arrays in Bash (Cheatsheet)
►
Oct 29
(2)
Bash config file loading order
Kindle 3rd generation
►
Oct 27
(1)
►
Oct 26
(1)
►
Oct 25
(1)
►
Oct 22
(1)
►
Oct 15
(1)
►
September
(2)
►
Sep 15
(1)
►
Sep 12
(1)
►
June
(2)
►
Jun 26
(1)
►
Jun 06
(1)
►
March
(3)
►
Mar 27
(1)
►
Mar 25
(2)
►
February
(3)
►
Feb 21
(3)
►
January
(5)
►
Jan 11
(1)
►
Jan 08
(1)
►
Jan 06
(1)
►
Jan 04
(2)
►
2009
(25)
►
December
(3)
►
Dec 25
(1)
►
Dec 24
(1)
►
Dec 22
(1)
►
November
(2)
►
Nov 07
(1)
►
Nov 06
(1)
►
September
(4)
►
Sep 26
(1)
►
Sep 24
(1)
►
Sep 12
(1)
►
Sep 08
(1)
►
August
(1)
►
Aug 20
(1)
►
July
(3)
►
Jul 09
(3)
►
March
(2)
►
Mar 01
(2)
►
January
(10)
►
Jan 30
(1)
►
Jan 26
(2)
►
Jan 22
(1)
►
Jan 21
(1)
►
Jan 14
(1)
►
Jan 07
(2)
►
Jan 05
(1)
►
Jan 03
(1)
►
2008
(42)
►
December
(5)
►
Dec 29
(1)
►
Dec 26
(2)
►
Dec 20
(2)
►
October
(1)
►
Oct 10
(1)
►
August
(5)
►
Aug 28
(1)
►
Aug 24
(2)
►
Aug 18
(1)
►
Aug 09
(1)
►
July
(10)
►
Jul 25
(1)
►
Jul 22
(3)
►
Jul 19
(1)
►
Jul 11
(1)
►
Jul 10
(1)
►
Jul 06
(1)
►
Jul 03
(1)
►
Jul 01
(1)
►
June
(4)
►
Jun 30
(3)
►
Jun 01
(1)
►
May
(1)
►
May 03
(1)
►
April
(1)
►
Apr 11
(1)
►
March
(6)
►
Mar 29
(1)
►
Mar 16
(3)
►
Mar 15
(1)
►
Mar 14
(1)
►
February
(3)
►
Feb 21
(2)
►
Feb 18
(1)
►
January
(6)
►
Jan 31
(1)
►
Jan 28
(2)
►
Jan 22
(1)
►
Jan 06
(2)
►
2006
(1)
►
November
(1)
►
Nov 01
(1)
Useful links
Pastebot
free online storage
Syntax highlight of code
Google News
Edit-Me
Edit-Me
Labels/Tags
ai
(1)
algorithm
(2)
android
(1)
apache
(2)
api
(1)
audio
(1)
awk
(1)
bash
(4)
bytecode
(2)
C
(2)
cloudcomputing
(1)
cloundcomputing
(1)
configuration
(3)
css
(1)
date
(1)
design
(1)
eclipse
(3)
encoding
(2)
eucalyptus
(2)
fiddler
(1)
firefox
(2)
fs
(1)
gnome
(1)
google
(4)
graphics
(2)
groovy
(2)
hadoop
(6)
hex
(1)
html
(1)
http
(4)
iso
(1)
ivy
(1)
java
(9)
javascript
(1)
jaxp
(1)
jsp
(1)
kindle
(1)
latex
(4)
linux
(36)
locale
(1)
mail
(2)
matlab
(2)
maven
(3)
misc
(23)
mysql
(2)
partition
(1)
php
(3)
postscript
(1)
programming
(10)
python
(1)
r
(1)
reflection
(1)
rfc
(4)
ruby
(2)
security
(4)
servlet
(3)
shell
(1)
software
(7)
sofware
(4)
ssh
(1)
standard
(1)
svn
(2)
systems
(2)
terminal
(1)
time
(1)
tomcat
(5)
ubuntu
(14)
unicode
(1)
unix
(8)
uri
(1)
vim
(8)
w3c
(1)
web
(1)
webservice
(1)
windows
(2)
xml
(3)
0 comments:
Post a Comment