Megalith
24-bit/48kHz
- Joined
- Aug 20, 2006
- Messages
- 13,000
Anyone know of a renamer that can generate a checksum for a file and rename that file into that value?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Get-FileHash .\aes.ps1 | %{rename-item $_.path $_.hash -whatif}
What if: Performing the operation "Rename File" on target "Item: C:\Users\jgentile\Documents\WindowsPowerShell\aes.ps1 Destination: C:\Users\jgentile\Documents\WindowsPowerShell\47C6308F0747E3C0217C44BEB86E027124DE05CBFF32417A91BCDF7F98DF9302".
gci *.txt | get-filehash | %{rename-item $_.path $_.hash -whatif}