Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
So close it also works this is the output.
Execution of 'oldfiles2 testdir':
Files in 'testdir' after 'oldfiles2' was run:
file1.old file2.old file3old.old file4.old
Error: 'for' does not seem to loop only through required filenames
On 14-11-14 02:38 PM, Dennis Williamson wrote:
> for file in "$1"/*
> do
> if [[ $file != *.old ]]
> then
> mv -- "$file" "$file.old"
> fi
> done