Difference between revisions of "Run in GEMC"

From New IAC Wiki
Jump to navigation Jump to search
(Created page with "split -d -l 75000 -a 2 LUND_Spread.LUND LUND_Spread_ prename 's/(LUND_Spread_\d{2})/$1.LUND/' LUND_Spread_*")
 
Line 1: Line 1:
 +
 +
<center>[[File:Mol_E_Theta_Lab_Spread.png]]</center>
 +
 
split -d -l 75000 -a 2 LUND_Spread.LUND LUND_Spread_
 
split -d -l 75000 -a 2 LUND_Spread.LUND LUND_Spread_
  
 
prename 's/(LUND_Spread_\d{2})/$1.LUND/' LUND_Spread_*
 
prename 's/(LUND_Spread_\d{2})/$1.LUND/' LUND_Spread_*
 +
 +
 +
Placing each of these files into its own directory, within a directory named LUND_Spread
 +
 +
<pre>find . -name "*.LUND" -exec sh -c 'mkdir "${1%.*}" ; mv "$1" "${1%.*}" ' _ {} \;</pre>

Revision as of 19:11, 16 June 2016

Mol E Theta Lab Spread.png

split -d -l 75000 -a 2 LUND_Spread.LUND LUND_Spread_

prename 's/(LUND_Spread_\d{2})/$1.LUND/' LUND_Spread_*


Placing each of these files into its own directory, within a directory named LUND_Spread

find . -name "*.LUND" -exec sh -c 'mkdir "${1%.*}" ; mv "$1" "${1%.*}" ' _ {} \;