https://bugzilla.novell.com/show_bug.cgi?id=717608 https://bugzilla.novell.com/show_bug.cgi?id=717608#c0 Summary: rename do not work as expected Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: SuSE Other Status: NEW Severity: Minor Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jdd@dodin.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 on 11.4, the script: for I in *.jpg ; do rename ".jpg" "-$RANDOM.jpg" $I ; done works perfectly, adding a -random number before the "." of my photos on 12.1 (beta for now, I beleive), rename see the "-" as the beginning of an option. There is an easy workaround, when you understand that, it's adding "--" after rename. It may be a feature, but it breaks scripts and I spent several hours to find why I see no reason to have this, as the three rename parameters are mandatory, so if there are options, they have to be the 4th one, easy to detect Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.