Hello, I'm quite new to HP-UX and I stumbeled upon some strange behaviour from tar.
I have a script like this:
find -mtime $days -type f|xargs tar cvf tarfile.tar
and it make me a tar file with files that has been changed in $days.
When i run 'tar tf tarfile.tar' it give me output like this:
File1
dir1/dir2/File2
dir1/dir2/File3
...
But when i try 'tar xf tarfile.tar' I get:
tar: File1 - cannot create
tar: dir1/dir2/File2 - cannot create
tar: dir1/dir2/File3 - cannot create
...
I have tried this with GNU tar on same machine, and then it work (same user, same file and destination). The same on Solaris. I'm not sure what version of tar this is but the HP-UX is 11i version 1.
I hope someone can help me with this one
best regards.