Cacomania: Monitor file copy progress with find and watch

Cacomania

Monitor file copy progress with find and watch

Guido Krömer - 11. March 2013 - Tags: ,

Currently copying a large amount of files and wants to see if the job is still running?

watch

find lists all files in the folder and his sub-folders, wc -l count the lines from stdout and watch executes this every two seconds.

$ watch "find ./ -type f | wc -l"