diff --git a/tutorials/incompressible/pisoFoam/les/motorBike/lesFiles/Allrun b/tutorials/incompressible/pisoFoam/les/motorBike/lesFiles/Allrun index 97141c33eb851f2d653f9ef3a07bd7dec0c47d82..d39ce623e950e6b42fe863288dd0a3b238f855a6 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 deb3e65fbb4e185f42f7cc7ba4c0142f89ee2283..a4b504825150aa364b4197b6bd4b818cf82e56ed 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 dfd8c4d523c725d31cde1b7b4b2db851e1732cb1..6a993423c85d24d6b6f1b0ba9fb173665e86bef4 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 d8e20e4da2efe32f6c3ef5bd42fb095d53a403ef..e2cd04e37a2c11559bb5221f262025486da9544b 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 c4b1d6e6ad8b86636730e075a32fcc63f7aca15f..f4dfaf5f3a5443c3fc65037cebf7d100f59ddf05 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 ed67c87fa64cc3dec17efdc45a25169297597755..04bf7dd0ed037f1500c457e31cb1b33805097b0c 100755 --- a/wmake/wcleanMachine +++ b/wmake/wcleanMachine @@ -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