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
‹
›
Home
View web version
No comments:
Post a Comment