Bulk Rename

Thunar includes a bulk renamer which allows users to easily rename multiple files at once.

The bulk rename dialog can be opened with Thunar -B.

Operations

The following renamer operations are included by default (the thunar-sbr plugin), which can be applied to the file name and/or suffix:

  • Remove characters
  • Numbering files
  • Insert or overwrite characters
  • Insert date / time
  • Search and replace characters
  • Uppercase, lowercase or CamelCase files

Date /Time Renamer

The Date / Time renamer uses a format string to insert the date or time parts into the file name. The following special sequences are understood by the renamer and will be substituted: * %a The abbreviated weekday name according to the current locale.

  • %A The full weekday name according to the current locale.
  • %b The abbreviated month name according to the current locale.
  • %B The full month name according to the current locale.
  • %c The preferred date and time representation for the current locale.
  • %d The day of the month as a decimal number (range 01 to 31).
  • %F Equivalent to %Y-%m-%d (the ISO 8601 date format).
  • %H The hour as a decimal number using a 24-hour clock (range 00 to 23).
  • %I The hour as a decimal number using a 12-hour clock (range 01 to 12).
  • %j The day of the year as a decimal number (range 001 to 366).
  • %m The month as a decimal number (range 01 to 12).
  • %M The minute as a decimal number (range 00 to 59).
  • %p Either `AM’ or `PM’ according to the given time value, or the corresponding strings for the current locale. Noon is treated as `pm’ and midnight as `am’.
  • %S The second as a decimal number (range 00 to 60). (The range is up to 60 to allow for occasional leap seconds.)
  • %U The week number of the current year as a decimal number, range 00 to 53, starting with the first Sunday as the first day of week 01. See also %V and %W.
  • %w The day of the week as a decimal, range 0 to 6, Sunday being 0. See also %u.
  • %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01.
  • %x The preferred date representation for the current locale without the time.
  • %X The preferred time representation for the current locale without the date.
  • %y The year as a decimal number without a century (range 00 to 99).
  • %Y The year as a decimal number including the century.
  • %Z The time zone or name or abbreviation.
  • %% A literal % character.

Some systems may support additional sequences; check the documentation of the strftime C function for your system.

Screenshot

 
documentation/bulk_renamer.txt · Last modified: 2007/11/28 18:39 by benny