On 2015-09-20 01:43 +0200, Christian Ebert wrote:

> printf '%s' "/full/path/to/directory" | md5 | xargs rm -r

Thanks for the tip, it almost works :P On which system is there a md5
program? Here:

 [9+0]~$ folder=Mail/inbox
 [10+0]~$ printf '%s' `readlink -f $folder` | md5sum
6937aaf0469360e061c78ffae25359d2  -
 [11+0]~$ printf '%s' `readlink -f $folder` | md5sum | awk '{print $1;}'
6937aaf0469360e061c78ffae25359d2

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.

Reply via email to