I have this script someone very kindly help me write last year which loops through all files in a folder and does a command.
I need to modify it to loop through all sub-folders of a main folder and only perform the command on files modified after Jan 1st 2008. And I need the command to place the new created files in a new sub folder.
Here is the original script:
#!/bin/sh
for file in *
do
newname="$file".txt
expage "$file" >"$newname"
echo "Expaged $file to $newname"
done