How to avoid tar to overwrites a file with same name when using create option?

Solution Verified - Updated -


I ran

# tar -cvf bla xuxu.tar

And bla file that already existed was overwrite.

Also the xuxu.tar wasn't created.


Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In