[NTLUG:Discuss] TAR and 4 gigabyte AVI file

Rusty Haddock rusty at fe2o3.lonestar.org
Sat Jan 6 09:48:39 CST 2007


Michael Barnes wrote:
    >Lenrek Xunil told me on 1/6/2007 5:02:
    >> 
    >> I also tried "tar cfvz --exclude-from="SUMMER '03 Day 4.avi" SUMMER '03 Day
    >> 4.avi" to exclude that directory but my syntax is not quite right.  Any
    >> suggestions?  Thanks in advance for your help.
    >>
    >
    >First thing I would do is rename the file.

Sorry Michael, that option is not always available.
The "First thing to do" is to learn how to deal with such nastiness
especially if one has to deal with Windoze (l)users.  :-)

Lenrek's tar command above needs fixing in a couple of ways:

1) tar cfvz --exclude-from="SUMMER '03 Day 4.avi" SUMMER '03 Day 4.avi

   Should be more like

    tar cfvz --exclude-from="SUMMER '03 Day 4.avi" somefilename.tar "SUMMER '03 Day 4.avi"

   Logically he forgot to provide a tar file.  On the other hand,
   literally the file SUMMER would be used but now the single quotes (')
   were out of balance.  Next, the shell won't like the command to start
   and expect more input because of the imbalance.  Character quoting
   can be a pain!

2) Also, while Lenrek properly enclosed the exclude-from file in quotes,
   he failed to quote it for the file list in his test.  Be consistent!

Sorry, that's about all my semi-comatose brain will generate this
"early" in the morning but that should get strrev("kerneL") started.

	-Rusty-
-- 
   _____        Rusty Haddock  =  KD4WLZ  =  rusty at fe2o3.lonestar.org
|\/   o \   o  **Out yonder in the Van Alstyne (TX) Metropolitan Area**
|   (  -<  O o     Every day I think people can't get more stupid.
|/\__V__/               Every day I'm proven horribly wrong.



More information about the Discuss mailing list