https://bugzilla.novell.com/show_bug.cgi?id=717608
https://bugzilla.novell.com/show_bug.cgi?id=717608#c5
Karl Eichwalder changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Component|Other |Release Notes
Summary|rename do not work as |RN: rename do not work as
|expected |expected
QAContact|qa@suse.de |coolo@suse.com
--- Comment #5 from Karl Eichwalder 2011-10-19 09:58:17 CEST ---
<title>The rename Command</title>
<para>
According to the GNU Coding Standards, the rename command now treats all
strings beginning with a dash as a command line option. To prevent this,
separate the option from the other arguments with <literal>--</literal> as
follows:
</para>
<screen>
for f in *.jpg ; do
rename -- ".jpg" "-$RANDOM.jpg" $f ;
done
</screen>
--
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.