script

Write a script which pauses the session for the number of seconds given as argument,
and then displays the total size of all files whose names were removed from the current
directory.
Example:

$ watchdir 60
# sleeping for a while ...
removed files total size 2345
Registered users can post here. Sign in or register to post.