I want to copy folders from one folder to another.In the "cp" man page, I read this

Quote:

......... -r option is strongly discouraged, as it does not correctly copy special files, symbolic links, or fifo's.

The -v and -n options are non-standard and their use in scripts is not recommended.

I could not find a way to get a warning before over-writing folders like in the case of copying files where "-i" can be used and then "y" or "n" can be specified. This is because according to the man page "

What kind of errors ? If i am copying three files and two get copied and one does not get copied due to error, will such error be suppressed? I don't know how I can test this. So i hope you know the answer.I have no reasons to suppress any kind of errors. I would actually want to see the errors.

I'm just guessing here, but i think they mean that even if a file cannot be copied (like permission denied error) it will continue to copy the rest of the files unlike regular copy which will stop if 1 error is encountered?

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum