marienvo
8/17/2016 - 11:51 AM

Bash: search

Bash: search

Change file extension of files (including subfolders): (POSIX)

find ./ -depth -name "*.html" -exec sh -c 'mv "$1" "${1%.html}.njk"' _ {} \;

Find files by size:

find . -type f -size +40M -exec ls -lh {} \;