The Computer Science Instructional Facility has a new set of home directories in the CSIF and old home directories have been archived. The old home directories are still mounted on sp2.cs.ucdavis.edu as read-only. Please, only use sp2 to retrieve or backup your files from the old home directory. If you want to move your files from the old home directory to your new home directory we suggest logging into a system in the CSIF, for example pc14.cs.ucdavis.edu and executing one of these 3 rsync commands below: ** WARNING ** If you have created a file on the new home directory that is named the same and in the same location as the file on the old home directory and you rsync that directory to the same place, it will over write the file on the new home directory. ** WARNING ** In the below commands, change "USERNAME" to your username in the CSIF. If you want to copy a directory from your old home directory called "OLD_DIRECTORY" to your new directory use this command: rsync -avhHSe ssh USERNAME@sp2:/home/USERNAME/OLD_DIRECTORY /home/USERNAME/ If you want to copy your entire old home directory to your new home directory use the following command: rsync -avhHSe ssh USERNAME@sp2:/home/USERNAME/ /home/USERNAME/ If you want to copy your entire old home directory to a directory called "OldHome" in your new home directory use this command: rsync -avhHSe ssh USERNAME@sp2:/home/USERNAME/ /home/USERNAME/OldHome/ Remember the "/" is important, often without it, rsync puts files in different locations. If you have any questions or need help please email support@cs.ucdavis.edu. |
News >