Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

You can copy and paste these lines from the code block below into your Terminal window. Just make sure you hit "Enter" after the last line.

Create some symbolic links that will come in handy later:

...

Code Block
languagebash
titleSingle file copy with cp
mkdir -p $SCRATCH/data/test1
cp /work/projects/BioITeam/projects/courses/Core_NGS_Tools/misc/small.fq  $SCRATCH/data/test1/
ls $SCRATCH/data/test1

# or..
lsmkdir -p ~/scratch/data/test1
# or..
cd $SCRATCH~/scratch/data/test1
cp /work/projects/BioITeam/projects/courses/Core_NGS_Tools/misc/small.fq  .
ls

Copy an entire directory to your scratch area. The -r argument says "recursive".

...