About 290,000 results
Open links in new tab
  1. Copy specific file type keeping the folder structure

    Nov 18, 2014 · I have a folder structure with a bunch of *.csv files scattered across the folders. Now I want to copy all *.csv files to another destination keeping the folder structure. It works by …

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

    Mar 5, 2015 · On Linux, to copy a folder and its content from the user (root in this example) directory, to a folder in the local user directory, I run this command on the local machine:

  3. How to copy files from one machine to another using ssh

    Dec 25, 2013 · I am using a Linux (CentOS) machine, and I have already connected to another system using SSH. Now, my question is: How can I copy files from one system to another …

  4. linux - Copy over existing files without confirmation? - Unix

    Jul 24, 2014 · I need to copy and over-write a large amount of files, I've used the following command: # cp -Rf * ../ But then whenever a file with the same name exists on the destination …

  5. Clone ownership and permissions from another file? - Unix

    Sep 13, 2011 · Is there a command or flag to clone the user/group ownership and permissions on a file from another file? To make the perms and ownership exactly those of another file?

  6. Copy the contents of a file into the clipboard without displaying its ...

    Oct 7, 2016 · 142 How to copy the contents of a file in UNIX without displaying the file contents. I don't want to cat or vi to see the contents. I want to copy them to clipboard so that I can paste …

  7. Copy a file and append a timestamp - Unix & Linux Stack Exchange

    If you want to append a timestamp to all the file names, that's a different problem. Your choice of timestamp format is a bad idea: it's hard to read for humans and hard to sort.

  8. `cp` permission denied when copy a file owned by `root`

    I have a folder udp_folder2 d------r-T 41 root root 4096 Apr 26 21:17 udp_folder2 when I'm with user other than root, I can't cp -r it into a new folder it says: Permission denied w...

  9. How do I copy the latest file from one directory to another?

    Apr 9, 2015 · I have 3 zip files in a directory. I want to copy the most recent version to a backup directory. My code works fine for .sh and other files, but not for .zip. Is there something else I …

  10. Use scp to transfer a file from local directory X to remote directory Y

    To copy a file from the remote machine to the local one, use scp -P 2222 username@domain:dir/file.ext localdir (assuming that file.ext is in ~/dir on the remote …