San Diego State University logo

*Technical Briefs*
Copying Files from Old to New Account on ROHAN

----------------------------------------------------------------------

The ROHAN's UNIX operating system, SOLARIS, provides many ways to transfer files from one account to another. One way to copy all of your files in an old account to a new account -- Login to your old account and at the system prompt, enter:

chmod  -R  og+r  .
This will make all of the old account's files public
Now login to your new account and type:
cd  ~oldacct;tar  cf  -  .|( cd;  tar  xfv  -)
Replace oldacct with the name of your old account. This will copy all of the old account's files to the new account
After everything is copied over to the new account, login to the old account and at the system prompt enter:
chmod  -R  og-r  .
This will make all of the old account's files private
NOTE: To copy a single filename or directory, replace the dots in the above examples with either the name of the file or the name of the directory.

----------------------------------------------------------------------


BACK Academic Computing Handouts, Manuals, and Help Files

This page last modified: December 12, 2002
Send comments/suggestions about this web page to webmaster@rohan.sdsu.edu

SDSU Faculty and Students may send questions about software on ROHAN or ROHAN UNIX problems to problems@rohan.sdsu.edu