This is a discussion on Needed backup stript with solution for problem symlinks within the Shell scripting forums, part of the Development/Scripting category; Hi everyone from Russia! I needed to backup data from directories with hyperlinks. All time I was used: tar cfhFF ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Hi everyone from Russia!
I needed to backup data from directories with hyperlinks. All time I was used: tar cfhFF archive.tar * i.e. compress all files with hyperlinks follow without "trash" files But some directories I cannot archive die loop hyperlinks, i.e.: /somedir -> . When I try to archive simular directories - tar trying again and again enter to this directory and /somedir/somedir/somedir/somedir/somedir.... etc ...archiving in impossible in this case. I think this can be solved with scripts that can use readlink to validate loop hperlinks and ignore this. Can you please help me? I does not have any expirience with scripting. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Solution | aaru | Linux software | 0 | 10-19-2007 04:38 PM |
| problem with System + MySQL backup script | massoo | Shell scripting | 1 | 08-20-2007 10:50 PM |
| Guidance needed | jithendra | Linux software | 2 | 11-07-2006 10:26 AM |
| Device eth0 does not seem to be present error and solution | jerry | Linux software | 1 | 06-20-2006 06:07 PM |
| using sed to delete everything except needed patterns | guest | Shell scripting | 8 | 09-12-2005 03:57 AM |