Operating System - HP-UX
1836253 Members
2024 Online
110096 Solutions
New Discussion

tar doesn't back up long file names

 
Augusto Vinhaes
Frequent Advisor

tar doesn't back up long file names

It's not possible to back up long file names with tar. I got the message: file name to long. I took a look at the man page and I tried to use the "N" key, but it's not working.
Can you help me, please ?

Regards,
Augusto
Augusto
4 REPLIES 4
S.K. Chan
Honored Contributor

Re: tar doesn't back up long file names

Even ..
# man 4 tar
says you can have pathnames up to 256 chars and the "N" option is default behavior. Have you got the latest "tar cumulative" patch installed ?
MANOJ SRIVASTAVA
Honored Contributor

Re: tar doesn't back up long file names

Hi Augusto


I think you are using a long argument , I would suggest that you try


tar cvf /dev/rmt/0m ` cat a`

where file a has the list of the files which ened to be backed up.


Manoj Srivastava
Augusto Vinhaes
Frequent Advisor

Re: tar doesn't back up long file names

I need to check the patches ...

tar cvf teste `cat a` doesn't work.
Augusto
harry d brown jr
Honored Contributor

Re: tar doesn't back up long file names