1336 links
  • linx
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
  • ► Play Videos
Links per page: 20 50 100
page 1 / 1
2 results tagged cp x
  • thumbnail
    cp - How do I copy a folder keeping owners and permissions intact? - Unix & Linux Stack Exchange
    sudo cp -rp /home/my_home /media/backup/my_home

    From cp manpage:

     -p     same as --preserve=mode,ownership,timestamps
    
     --preserve[=ATTR_LIST]
              preserve the specified attributes (default: mode,ownership,timestamps),
              if possible additional attributes: context, links, xattr, all
    June 28, 2017 at 2:37:38 PM UTC - permalink -
    QRCode
    - https://unix.stackexchange.com/questions/43605/
    cp permissions rights unix
  • thumbnail
    bash - Copy files from one directory into an existing directory - Stack Overflow

    What you want is:

    cp -R t1/. t2/

    The dot at the end tells it to copy the contents of the current directory, not the directory itself. This method also includes hidden files and folders.

    May 9, 2017 at 12:06:55 PM UTC - permalink -
    QRCode
    - https://stackoverflow.com/questions/3643848/copy-files-from-one-directory-into-an-existing-directory
    bash cp files
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation