Berkeley CSUA MOTD:Entry 17179
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/07/08 [General] UID:1000 Activity:popular
7/8     

2000/1/6-7 [Computer/SW/Unix] UID:17179 Activity:high
1/6     tar -cX directory.tar exclude_file /directory
        doesn't seem to work on my Sun Solaris 7 box. (Though that is the
        way the man page seems to say to write it).
        tar -cvX exclude_file directory.tar /directory
        lists the right files to be tared + tries to include directory.tar
        in the tar.
        Someone please tell me what i'm doing wrong.  This has taken me
        far too long to figure out one friggin' command.
        \_ You're forgetting the "f" flag:
                tar -cfX directory.tar exclude_file /directory
             \_  Thanks.  I'm an idiot.
                 \_ And you're a moron for not removing your entry.
                    \_ Which of course makes you twice the moron for not
                       removing it either.
                       \_ I hope you never breed.