View Single Post
Old 03-07-2017, 03:48 PM  
bigstar
FlashFXP Developer
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default [script] Hash selected files using SHA-1 and save to verify.sha1

Code:
# require the local browser, abort script if remote is selected
/require local

# display busybox during operation and allow the user to cancel operation
/busybox

# delete any existing verify.sha1 file
# you could remove this to append to an existing file but that would include duplicates if the same file is hashed
/dele "%pverify.sha1"

# This will create a SHA1 file of all selected files
# using the standard SHA1 hash file format
# <sha1> <filename>
/writeln "%pverify.sha1" $sha1("%p%f") %f
bigstar is offline