Top "Cp" questions

cp is a UNIX command used to copy a file

pass output as an argument for cp in bash

I'm taking a unix/linux class and we have yet to learn variables or functions. We just learned some basic …

linux bash unix ls cp
How can I make a progress bar while copying a directory with cp?

I suppose I could compare the number of files in the source directory to the number of files in the …

bash progress-bar cp
How to pipe output from grep to cp?

I have a working grep command that selects files meeting a certain condition. How can I take the selected files …

linux shell grep cp
cp -r without hidden files

I have two directories and one is empty. The first directory has many sub directories with hidden files. When I …

linux bash cp
linux copy symbolic link

How do I copy a symbolic link from one directory to another? ls -ls file1.txt file2.txt files -&…

linux shell command-line symlink cp
linux wildcard usage in cp and mv

I am composing a script to process 20 files. All of them located in different directories. I have partial file name. …

linux shell cp mv
Make a copy of a file and give it a different name mac terminal

Mac. I'm in a directory dogs/scripts/cats. Within this directory there is a file bla.txt. I would like …

macos shell terminal cp
Subprocess cp returns error - bufsize must be integer

I'm trying to copy from one directory to another, and rename them at the same time by calling 'cp' like …

python python-2.7 copy subprocess cp
Linux commands to copy one file to many files

Is there a one-line command/script to copy one file to many files on Linux? cp file1 file2 file3 copies …

linux cp
bash command to copy file from one computer to another

Wasn't quite sure how to word this but let's say I've used ssh to remote into my friends MacBook (macbook_…

macos bash unix cp