Journey of Life
April 22, 2015
linux cp without overwrite
You can use "-n" option.
If you are on a embedded linux box with busybox, it does not have that option. You can this instead:
false | cp -i source destination 2>/dev/null
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment