I have a shell script code which find .sql.gz
files and moves them:
find $Dir -type f -mtime $Time -name \*sql.gz | while read file
do
echo "Earlier $file will be moved to different folder." >> $Path_Log_File
mv -f $file $Path_Folder
done
Now I have few more files with the extension .sql
so how can I modify my above code so it includes this file extension as well. Thanks.