Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Tar
Message
General information
Forum:
Linux
Category:
Other
Title:
Miscellaneous
Thread ID:
00508887
Message ID:
00509914
Views:
20
Try:

tar -zcvf mind.tar.gz `ls -R | grep -e [^.exe]$`

Or check out the --exclude option for tar.

j


>I want to backup my linux box. I only want to backup my home directory. I type in tar czvf backup.tar.gz /home and it backs everything in the home directory. My question is How do I skip files that end in .exe?
Jason Bradley Nance
jbnance@tresgeek.net

Got root?
Previous
Reply
Map
View

Click here to load this message in the networking platform