Advertisement
adilima

create md5 for each R3D in any folder

Dec 14th, 2014
467
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.40 KB | None | 0 0
  1. # this is probably the most powerful & yet simple script to deal with folder/filenames that contain spaces
  2. # it's only contain a single line command, but actually executing multiple commands before reaches md5 command and passes each file names to them
  3. # as you see, we are no longer using a for loop
  4.  
  5. find "/Volumes/Folder Name/That/Contain Spaces" -type f -name "*.R3D" -exec md5 '{}' >> master-md5.txt \;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement