Hello,
Is there anyway to just tar up symbolic links ?
Cheers,
Quote:> Hello,
> Is there anyway to just tar up symbolic links ?
> Cheers,
find foo -type l -print | cpio -o -H tar -O foo.tar
I don't think there is a way to do it with the tar command, but you
don't need one since the cpio command can write in the same format.
- Logan
--
"I'll tell you something. Luxury disgusts me." Giorgio Armani, Jan 17, 2002
( http://dailynews.yahoo.com/h/nm/20020117/re/life_fashion_armani_dc_1.... )
1. TAR doesn't retain date/time of symbolic links
Hello folks,
Perhaps it's a simple question that I don't have answer.
I have tried on different Un*x and it seems that neither
native TAR nor GNU TAR restores symbolic link with
the same date and time as original ones. I am
surprised that "-p" option is useless here.
Is there any hidden option available ?
Many thanks in advance.
if you don't mind, please forward your hint to my email
account
Many thanks in advance!
KiT
3. Too many symbolic links, Symbolic link loop
5. How to view tar contents w/o un-tar'ing?
6. ANNOUNCE: tkWorld 1.0 Beta Release 3
8. GRUB fails to load Suse 8.1 on slave
9. tar and following symbolic links
10. tar symbolic link problems
11. Can a symbolic link point to a file inside a TAR archive?
12. how tar and cpio handle symbolic links