About 79,500 results
Open links in new tab
  1. How can I copy the contents of a folder to another folder in a ...

    Dec 11, 2011 · You can copy the contents of a folder /source to another existing folder /dest with the command: cp -a /source/. /dest/ The -a option is an improved recursive option, that preserves all file …

  2. command line - How to copy files via terminal? - Ask Ubuntu

    Oct 3, 2012 · I want to copy a folder from home directory to sda3 and do not want to delete any thing on sda3 directory and opposite I want to cut a folder/file and copy to other place without deleting files in …

  3. command line - How to copy and paste a file? - Ask Ubuntu

    Use the cp command to copy a file, the syntax goes cp sourcefile destinationfile. Use the mv command to move the file, basically cut and paste it somewhere else.

  4. Copying multiple specific files from one folder to another

    Feb 24, 2015 · 227 I have a large folder of pictures (thousands), and I have a long list of files, by exact file name, that I need to copy to another folder. I want to know if there is a way I can select several …

  5. command line - how do you copy a directory and its contents to a new ...

    Nov 3, 2016 · I'm new to the Linux command line and am trying to get to grips with the copy command at the moment. Can anyone please tell me if it's possible to copy a directory with its subdirectories and …

  6. command line - copy files by date - Ask Ubuntu

    Nov 24, 2015 · Using find, the files (and only the files) modified in the last day are found by: find . -type f -mtime 1 so you can copy them with find . -type f -mtime 1 -exec cp {} bak/ \; Meaning: find all entities …

  7. How do I copy files that need root access with scp?

    Jul 2, 2015 · I have an Ubuntu server to which I am connecting using SSH. I need to upload files from my machine into /var/www/ on the server, the files in /var/www/ are owned by root. Using PuTTY, …

  8. How to copy (or move) files from remote machine to local machine?

    Apr 10, 2017 · To move files from computer to computer over a network, you use the scp utility (scp stands for secure copy). ssh is only used for remote login access. Since you have already …

  9. How to show the transfer progress and speed when copying files with …

    Dec 14, 2010 · Extra reading My long answer on some advanced rsync usage and stuff: Super User: Convert NTFS partition to ext4 - How to copy the data? [another one of my answers] Unix & Linux: Is …

  10. cp command to exclude certain files from being copied

    Mar 23, 2022 · Is there a way to use the cp command to copy a directory and exclude certain files/sub-directories within it?