Top "Cp" questions

cp is a UNIX command used to copy a file

How to copy a file from remote server to local machine?

In my terminal shell, I ssh'ed into a remote server, and I cd to the directory I want. Now in …

linux ubuntu scp cp
How to force 'cp' to overwrite directory instead of creating another one inside?

I'm trying to write a Bash script that will overwrite an existing directory. I have a directory foo/ and I …

linux bash shell command-line cp
How to resolve /var/www copy/write permission denied?

I am a newbie in php, mysql. I have written a hello.php script, which I am trying to copy …

unix permissions cp
What is cp: cannot stat error in Unix, I get this error when trying to copy thing from one folder to another

Hi I wanted to know why I am getting this error. I have this directory called mock, which inside has …

bash unix command-line cp mv
OS X cp command in Terminal - No such file or directory

this might be one of those days my brain just does not work, or i'm incredibly dumb. i've been trying …

macos terminal cp
Copy or rsync command

The following command is working as expected... cp -ur /home/abc/* /mnt/windowsabc/ Does rsync has any advantage over it? …

rsync cp
How to copy multiple files from a different directory using cp?

I want to copy multiple files from a specific directory once I am in another directory. To clarify I want …

linux bash cp
Linux cp command to copy a folder to current directory

I am wondering if there is an identical command for copying a folder to current directory like it did using …

cp
Copying files based on modification date in Linux

I want to copy the last three months' files from one directory to another directory, but I could find only …

linux bash cp
Recursive copy of specific files in Unix/Linux?

I need to copy all *.jar files from directory and all its subdirectories. How can I do it in UNIX/…

linux bash shell unix cp