diff --git a/tutorials/incompressible/pisoFoam/les/motorBike/lesFiles/Allrun b/tutorials/incompressible/pisoFoam/les/motorBike/lesFiles/Allrun index 769a0e506ba18cea6b216b0adb41ac5d9f46f529..97141c33eb851f2d653f9ef3a07bd7dec0c47d82 100755 --- a/tutorials/incompressible/pisoFoam/les/motorBike/lesFiles/Allrun +++ b/tutorials/incompressible/pisoFoam/les/motorBike/lesFiles/Allrun @@ -7,9 +7,9 @@ cp ../lesFiles/fvS* ../lesFiles/controlDict system/ cp ../lesFiles/turbulenceProperties constant/ -ls -d processor* | xargs -i rm -rf ./{}/0 $1 -ls -d processor* | xargs -i mv ./{}/500 ./{}/0 $1 -ls -d processor* | xargs -i rm -rf ./{}/0/uniform $1 +ls -d processor* | xargs -I rm -rf ./{}/0 $1 +ls -d processor* | xargs -I mv ./{}/500 ./{}/0 $1 +ls -d processor* | xargs -I rm -rf ./{}/0/uniform $1 runParallel pisoFoam 8 diff --git a/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/Allrun b/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/Allrun index 8f1c872311666ebb2ed5360fb8b038d1d915485b..deb3e65fbb4e185f42f7cc7ba4c0142f89ee2283 100755 --- a/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/Allrun +++ b/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/Allrun @@ -19,7 +19,7 @@ runParallel snappyHexMesh 8 -overwrite -parallel 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 renumberMesh 8 -overwrite diff --git a/tutorials/incompressible/simpleFoam/motorBike/Allrun b/tutorials/incompressible/simpleFoam/motorBike/Allrun index d188343788ec199f1530c8cd99b5984be978bac0..dfd8c4d523c725d31cde1b7b4b2db851e1732cb1 100755 --- a/tutorials/incompressible/simpleFoam/motorBike/Allrun +++ b/tutorials/incompressible/simpleFoam/motorBike/Allrun @@ -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 diff --git a/tutorials/incompressible/simpleFoam/turbineSiting/Allrun b/tutorials/incompressible/simpleFoam/turbineSiting/Allrun index 9ae8bde9af81511cc8f251bf8dd45980761581f0..d8e20e4da2efe32f6c3ef5bd42fb095d53a403ef 100755 --- a/tutorials/incompressible/simpleFoam/turbineSiting/Allrun +++ b/tutorials/incompressible/simpleFoam/turbineSiting/Allrun @@ -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 diff --git a/wmake/wcleanAll b/wmake/wcleanAll index 9b8b728f5a4dc7aff8f76cf1b9f37e70214239c4..c4b1d6e6ad8b86636730e075a32fcc63f7aca15f 100755 --- a/wmake/wcleanAll +++ b/wmake/wcleanAll @@ -69,7 +69,7 @@ rm -rf platforms/* echo "Cleaning Make sub-directories" find . -depth \( -name Make -o -name "Make.[A-Za-z]*" \) -type d -print | \ - xargs -i find '{}' -mindepth 1 -maxdepth 1 -type d -print | \ + xargs -I find '{}' -mindepth 1 -maxdepth 1 -type d -print | \ xargs rm -rf echo "Removing lnInclude directories" diff --git a/wmake/wcleanMachine b/wmake/wcleanMachine index 1079b734a3f86b2ab03e8f04e3bd464bc968955d..ed67c87fa64cc3dec17efdc45a25169297597755 100755 --- a/wmake/wcleanMachine +++ b/wmake/wcleanMachine @@ -3,7 +3,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | -# \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation +# \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------- # License @@ -79,7 +79,7 @@ do echo "Cleaning machine type: $machType" find . -depth \( -name Make -o -name "Make.[A-Za-z]*" \) -type d -print | \ - xargs -i find '{}' -mindepth 1 -maxdepth 1 \ + xargs -I find '{}' -mindepth 1 -maxdepth 1 \ \( -type d -name "*$machType" -o -name "*$machType$WM_MPLIB" \) \ -print | xargs rm -rf