Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #find all omega3-coreInf.jars that are not in a subdir called cache and replace them with the one from temp
- find . -iname "omega3-coreInf.jar" -not -path "*cache*" -exec echo /usr/bin/cp /opt/temp/CuramCDEJ/lib/curam/jar/omega3-coreInf.jar {} \;
- #replace numerous jars
- for i in *.jar; do find /opt/IBM/WebSphere/Liberty/usr/servers/CuramServer/ -iname "$i" -not -path "*cache*" -exec echo /usr/bin/cp /opt/temp/$i {} \;; done
- #find files bigger than 100MB
- find ./ -type f -size +100M -exec ls -l {} \;
- #Max depth
- find ./ -maxdepth 3 -name jenkins
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement