Thursday, September 27, 2012

find and replace a file by another file recursively in all subdirectories

find . -type f -name "image.png" -printf "%h\n" | xargs -i cp /home/zana/DEVELOPMENT/LIB/DIR/Images/image.png "{}"'/'

No comments:

Post a Comment