Frequently Asked Questions: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (-a includes -p (in other words -p --no-p is redundant))
No edit summary
Line 28: Line 28:
<!--T:45-->
<!--T:45-->
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 ===
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.
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:
{{Command|rsync -axvH --no-g --no-p  $HOME/projects/<project>/some_other_directory $HOME/scratch/some_directory}}


== ''Disk quota exceeded'' error on /project filesystems == <!--T:12-->
== ''Disk quota exceeded'' error on /project filesystems == <!--T:12-->
Bureaucrats, cc_docs_admin, cc_staff, rsnt_translations
2,837

edits

Navigation menu