Hi Users,
i have a situation as below;
Code:
-rw-r--r-- 1 t1elkpe cmptl 0 Mar 18 12:00 file2
---------- 1 t1elkpe cmptl 0 Mar 14 16:07 file1
d--------- 3 t1elkpe cmptl 3 Mar 18 11:23 fd
now when i am tarting the above files below is what i get as output.
HTML Code:
[t1elkpe@ /u01/appl/t1elkpe/pst/max/SCRIPTDIR$]> tar cf test.tar f*
tar: /u01/appl/t1elkpe/pst/max/SCRIPTDIR/fd: Permission denied
tar: file1: Permission denied
[t1elkpe@ /u01/appl/t1elkpe/pst/max/SCRIPTDIR$]> tar tvf test.tar
tar: blocksize = 4
d--------- 1005/250 0 Mar 18 11:23 2013 fd/
-rw-r--r-- 1005/250 0 Mar 18 12:00 2013 file2
As visible fd directory is still tar in the final tar. Is there any way i can avoid this completely.
Any help is appreciated.
Thanks and Regards
Rajan gupta
…read more
Source: FULL ARTICLE at The UNIX and Linux Forums