Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tar problem

Status
Not open for further replies.

GuruNS

Technical User
Oct 24, 2002
5
GB
tar -cvf/dev/rmt/tps4d5nsnrv ./star-1.2 >> logfile &

Error message received

tar: duplicate function specifiers c and r.
usage: tar [-][{ruxXtcC}acdefhlm{o|S}pqvwLUBDRV{O|K}fb] [dir] [tapefile] [blocksize] file ...

nsnrv : no byte swapping, no rewind, variable block size

I am trying to backup a directory which shows whats been backed up in a logfile. However i get an error. where have i gone wrong please show me.
 
hi,

Is the above a typeo becuase there should be a space
after tar -tvf(SPACE) /dev/etc..

if not if you try your tar without appending to a logfile
does this work?

you can also try

tar -tvf /dev/..... ./star >>/tmp/logfile 2>&1

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top