copy cache file to each processor
Hi
I have to copy a data file, that each processor would require, into the respective constant directories of the processors. Is there a simpler way to do this, than to manually do "cp constant/cachefile processor(n)/constant" for each of the N processors whenever I try to run a case. Maybe a script that I can write just once, and use whenever a case is run? Any help is appreciated. Thanks! ak |
Hi newOFuser,
This command line will copy the file "file_name" as you asked: Code:
for a in processor*; do cp constant/file_name $a/constant/file_name; done
Bruno |
Thanks!
Option 3 works like a charm! ;) |
All times are GMT -4. The time now is 20:28. |