I have a problem regarding to copying files,
Problem : I have a list of md5sum, and a folder having 1000+ files, How can I move
files from folder to another folder with the help of md5sum list.
I can take md5sum against all files, currently present in folder, now what script
to to get read scripts from a list then compare the md5sum with list's
md5sum. If they are matched than the script move to another location.
Reading md5sum of files (little code)
for i inls
; do md5=md5sum "${i}"
;I don't know what condition will come here! to read list and compare with lists md5sum
; mv "${i}" $m ; done
If it's possible then please guide me how can I do this?