About 50 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 do you copy a directory and its contents to a new ...

    Nov 3, 2016 · 139 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 …

  3. sudo - I want to copy a directory from one place to another via the ...

    Nov 17, 2011 · I want to copy a directory from one place to another folder. sudo cp is the command, but after that what should I type? The destination or source first?

  4. Copying multiple specific files from one folder to another

    Feb 24, 2015 · 228 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. Recursively copy files from one directory to another

    Jul 24, 2016 · Recursively copy files from one directory to another Ask Question Asked 9 years, 6 months ago Modified 4 years, 6 months ago

  6. command line - Copy file to current directory? - Ask Ubuntu

    Oct 11, 2016 · How to copy a file in current directory? e.g. I have a file at /abc/xyz and I am in the current directory mno -- I want to copy a file from /abc/xyz/file.txt into mno.

  7. How can I copy a file to a new location, creating the directory as well

    16 I want to cp a file to another directory but that directory doesn't exist yet. So I would do: mkdir /new_place cp the_file /new_place Can I do this in one? I imagine something like cp the_file -m …

  8. 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.

  9. Must copy and rename file - Ask Ubuntu

    May 3, 2014 · I hate cp only supports "copy and rename" in the same dir; when you copy to another location, the destination can only be a dir, not the target file name.. and you must cp first and then mv.

  10. 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 …