Replace xargs -i with xargs -I as the -i option is deprecated

This commit is contained in:
Henry
2015-03-13 17:56:52 +00:00
parent d0122cfea3
commit bbc223d28d
6 changed files with 10 additions and 10 deletions

View File

@ -17,8 +17,8 @@ runParallel snappyHexMesh 6 -overwrite
#cp -r 0.org 0 > /dev/null 2>&1
#- For parallel running
ls -d processor* | xargs -i rm -rf ./{}/0
ls -d processor* | xargs -i cp -r 0.org ./{}/0
ls -d processor* | xargs -I rm -rf ./{}/0
ls -d processor* | xargs -I cp -r 0.org ./{}/0
runParallel patchSummary 6
runParallel potentialFoam 6 -noFunctionObjects

View File

@ -16,7 +16,7 @@ runParallel snappyHexMesh 4 -overwrite
find . -type f -iname "*level*" -exec rm {} \;
ls -d processor* | xargs -i cp -r 0.org ./{}/0 $1
ls -d processor* | xargs -I cp -r 0.org ./{}/0 $1
runParallel topoSet 4
runParallel `getApplication` 4