How can I complete this script which uses the scrypt tool to iterate through a folder and encrypt all the files?Hi there,I am working on this shell script:#!/bin/bashfor i in ~/scrypt-test/* do scrypt enc -P $i $i-sc <<< passtest123doneThe idea is that it should iterate through a folder and encrypt everything using the password from stdin.However it is not working.Anyone knows how I can fix the syntax?Vesa
How can I complete this script which uses the scrypt tool to iterate through a folder and encrypt all the files?
shell script