General TC > Programming & Scripting - Unofficial

extension audit script

<< < (5/21) > >>

Jason W:
Updated to check for 4096 block size and echo a red error message on failing md5sum.

jpeters:
Great tool, thanks!

Jason W:
Updated to check for unwanted appended data and recreate list files even if they are present.

robc:
How about auto editing the info file? this can be done for the size and the extension name...

Change Title field:

--- Code: ---sed -i 's!^Title:.*$!Title:\t\t$F!' $F.info
--- End code ---

Change Size field:

--- Code: ---sed -i 's!^Size:.*$!Size:\t\t`du -h $F | cut -f 1`!' $F.info
--- End code ---

Jason W:
Sure, I will add it in.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version