>sudo find /media/Joe/ -type f -exec sha1sum {}  \ ; 
>/home/joe/Desktop/sha1joe.list 2> /dev/null
>
>purpose is i want to make sha1sum of all files in /media/Joe/ which is an ntfs 
>partition mounted at same ....
>
>but when i run the above command i get the following error .
>
>find:missing argument to to `exec`.
>
>any suggestions
>

This should work?

sudo find /media/Joe/ -type f -print0 | xargs -0 sha1sum > 
~/Desktop/sha1joe.list 2> /dev/null

YMMV!

-- Mahesh Aravind




_______________________________________________
Indian Libre User Group Cochin Mailing List
http://www.ilug-cochin.org/mailing-list/
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#[email protected]

Reply via email to