Bureaucrats, cc_docs_admin, cc_staff, rsnt_translations
2,837
edits
No edit summary |
(Marked this version for translation) |
||
Line 29: | Line 29: | ||
Once the files are copied, you can then delete them from your scratch space. | Once the files are copied, you can then delete them from your scratch space. | ||
=== Moving files from project to scratch or home filesystems === | === Moving files from project to scratch or home filesystems === <!--T:55--> | ||
If you want to move files from your project into your scratch or home space, you '''should not''' use the <tt>mv</tt> command. Instead, we recommend using the regular <tt>cp</tt>, or the <tt>rsync</tt> command. | If you want to move files from your project into your scratch or home space, you '''should not''' use the <tt>mv</tt> command. Instead, we recommend using the regular <tt>cp</tt>, or the <tt>rsync</tt> command. | ||
<!--T:56--> | |||
It is very important to run <tt>cp</tt> and <tt>rsync</tt> correctly to ensure that the files copied over to the project space have the correct group ownership. With <tt>cp</tt>, do not use the archive <tt>-a</tt> option. And when using <tt>rsync</tt>, make sure you specify the <tt>--no-g --no-p</tt> options, like so: | It is very important to run <tt>cp</tt> and <tt>rsync</tt> correctly to ensure that the files copied over to the project space have the correct group ownership. With <tt>cp</tt>, do not use the archive <tt>-a</tt> option. And when using <tt>rsync</tt>, make sure you specify the <tt>--no-g --no-p</tt> options, like so: | ||
<!--T:57--> | |||
{{Command|rsync -axvH --no-g --no-p $HOME/projects/<project>/some_other_directory $HOME/scratch/some_directory}} | {{Command|rsync -axvH --no-g --no-p $HOME/projects/<project>/some_other_directory $HOME/scratch/some_directory}} | ||