Skip to content

Instantly share code, notes, and snippets.

@mohapsat
Created March 18, 2017 21:53
Show Gist options
  • Save mohapsat/9cfc4ddc5ad7be6e5c3bfcf557d8c18e to your computer and use it in GitHub Desktop.
Save mohapsat/9cfc4ddc5ad7be6e5c3bfcf557d8c18e to your computer and use it in GitHub Desktop.
Copy files from one partition to another in red hat
E.g. Talend extracts
source [/dev/sda3] [mounted on /]: /home/usr/talend_extracts
destination [/dev/sdc1] [mounted on /app]: /app/archive/talend/extracts
$pwd
/app/archive/talend/extracts
$sudo cp -afvr . /app/archive/talend/extracts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment