Link to home
Start Free TrialLog in
Avatar of Shannon Adams
Shannon Adams

asked on

tar: Removing leading `/' from member names

UNIX or Linux

When I run this "tar cf - /scratch/001/* > /tmp/001.tar", it works but the following appears:

"tar: Removing leading `/' from member names".

How do I get rid of the warning/error?

Thanks.
Avatar of james_owen
james_owen

use: tar cf - /scratch/001/* > /tmp/001.tar 2>/dev/null

ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial