FANDOM


Those commands will work on the current dir and the subdirs too.

Obtain the md5 hash of all files on a directory.Edit

find . -print | xargs digest -a md5

Obtain the md5 hash of all files on a directory except for the dot (current dir) Edit

find . -print | egrep -v '^\.$' | xargs digest -a md5


touch all files on a directoryEdit

find . -print | xargs touch


NOTE: find can use the parameter -type f instead of just -print for printing only files, and not directories.

Community content is available under CC-BY-SA unless otherwise noted.