How to copy files between Linux system

  1. There are different ways to move your files from the Sun system (ame2) to a Linux system (hedgehog, grad). This is just one suggestion.
  2. Log in to ame2 and tar your files: tar -cvpf filename.tar *
    • this command will tar most of your files into a file named "filename.tar" (you can name it whatever you'd like). Note: this will not include any .files (hidden files)
    • Due to quota issues, you may run out of space in your home directory. You will have to write your tar file to another place. We suggest scratch: tar -cvpf /usr/scratch/filename.tar * (issue that command from your home directory)
  3. To move your files to another location, you'll need to ftp to ame2 from that location (could be your local computer or puma or lehi, etc) and download your tar file (remember, it may be in /usr/scratch)
  4. Once the file is downloaded you need to untar the file: tar -xvpf filename.tar
  5. Remember to log back into ame2 and delete your tar file, especially if it's in /usr/scratch

Navigation tree for section Computer Support