Michael Sullivan wrote: > As I said, before the bash upgrade this worked perfectly. Now, when I > try to run it, I get this: > > [EMAIL PROTECTED] ~ $ system/resizepics > system/resizepics: line 11: [: too many arguments > system/resizepics: line 11: [: too many arguments
I don't get this error, when I run your script. How are the files named? Do they have spaces in the file name? If so - and even if not - I'd *STRONGLY* suggest to enclose current/$x in quotes, like so: if [ ! -e "current/$x" ]; then Alexander Skwar -- R Tape loading error, 0:1 -- gentoo-user@gentoo.org mailing list