|
|
Alas we've got this backwards
The reason that tcsh complains "No Match" is that same reason the find command as quoted here won't work in bash.
Alas we've got this backwards
tar cvf /dev/tape "*.tobebackedup"
...mostly won't work. GNU tar (hurrah!) does the right thing here, however. And just to prove that a guy who's been doing UNIX for ten years can also get it backwards, I've managed to do just that. If you want to save files called this.tobebackedup and that.tobebacked up you do of course want the shell to glob your asterisk, so this is exactly where you wouldn't use quotes. (and of course this will work with any tar, GNU or not). ]]BLUSH[[ What I meant to say was to use quotes to prevent globbing when you're using tar to look into a tarball. Eg, when listing it: tar tv "*.tobebackedup" ...which is, AFAIK, GNU specific. Perhaps we can just pretend that the c instead of the t was a slip of the fingers. -- el bid
Alas we've got this backwards
Actually, this will work in bash, if there's no file in the CWD that matches the expression. Upon executing: |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.08 seconds |
|