How to Exclude Directories from Tar
# tar -cf Filename.tar --exclude "/full/path/to/exclude/" /path/to/tar
tar -cf Filename.tar --exclude "/full/path/to/exclude1/" --exclude "/full/path/to/exclude2/" /path/to/tar
Friday, July 6, 2012
How to Exclude Directories from Tar
Subscribe to:
Posts (Atom)
Centos 7 reset root/ any user lost password / lockout due to cant remember password
1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...
-
S/N: KGR3T-F2C26-RRTGT-D6DQT-QBBB3
-
How to remove BBCODE from a string ? <?php $String = "[b][color=#0000ff]TEST[/color][/b]"; $regex = '|[[\/\!]*?[^\[\]...