You might want to get rid of the quotes around $file in -s "$file". Unnecessary stringification can cause problems in some cases. This may not help much in your case (since $file is already the product of string variable interpolation), but it's something to keep in mind.
In reply to Re: Win32 Unicode filenames: how to get their size ?
by revdiablo
in thread Win32 Unicode filenames: how to get their size ?
by olivierp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |