User Tools

Site Tools


wiki:cluster_xargs1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wiki:cluster_xargs1 [2019/07/12 06:35]
longzhu [xargs loop]
wiki:cluster_xargs1 [2019/07/12 06:37] (current)
longzhu
Line 29: Line 29:
 <code bash> <code bash>
  
-ls 20?​0_TSSP_IP-ENS-A2-SP20_43023435.tif ​ | xargs -n 1 -P 2  bash -c $'+time ( ls 20?​0_TSSP_IP-ENS-A2-SP20_43023435.tif ​ | xargs -n 1 -P 2  bash -c $'
  
 file=$1 file=$1
 gdalwarp -r cubic -tr 0.008 0.008 -t_srs EPSG:4326 $file  proj_$file -overwrite gdalwarp -r cubic -tr 0.008 0.008 -t_srs EPSG:4326 $file  proj_$file -overwrite
  
-' _ +' _ 
  
 </​code>​ </​code>​
wiki/cluster_xargs1.txt ยท Last modified: 2019/07/12 06:37 by longzhu