[Linux] USB drive ---Yum

Nicholas Saraniti linux@flux.org
Wed, 25 Jul 2007 15:21:16 -0400


Try,
To Create:
tar -czvf something.tgz somedirectory/

To Extract:
tar -tzvf something.tgz

This will TAR (All files you have permission to access and recursive
directories) and GZIP the archive... make sure you have root privs...


kerry blalock wrote:
> Jason Alazawi wrote:
>> I don't have any way of getting to a Linux box right now but would
>> this serve as an adequate check:
>>  
>> diff /path/of/file /path/of/destination  
>> Jason
>>
>>  
>> On 7/25/07, *Robert Citek* <robert.citek@gmail.com
>> <mailto:robert.citek@gmail.com>> wrote:
>>
>>     On 07/25/2007 08:31 AM, Jason Alazawi wrote:
>>     > Then I think this would work:
>>     >
>>     > cp -r /path/of/file/* /path/of/destination
>>     >
>>     > That might be a bit better
>>
>>     That sounds like a reasonable answer.  Of course, it would be
>> nice to
>>     verify that the command does what you intend with a small, quick
>> test
>>     ... just in case you might have overlooked something.  So, how
>>     could you
>>     test it?
>>
>>     Regards,
>>     - Robert
>>
>>     _______________________________________________
>>     Linux mailing list
>>     Linux@flux.org <mailto:Linux@flux.org>
>>     http://www.flux.org/mailman/listinfo/linux
>>
>>
> Might check it, but I tested cp -r, and it did not copy the .xxx
> files. dd  might do what I want, or tar. If I  can get tar to make
> directories, it will work. More research!
> _______________________________________________
> Linux mailing list
> Linux@flux.org
> http://www.flux.org/mailman/listinfo/linux
>