Difference between revisions of "ReNamer:Menus for the Files pane"

From den4b Wiki
Jump to navigation Jump to search
Line 132: Line 132:
 
|-
 
|-
 
| Clear Not Changed '''Ctrl+D'''  
 
| Clear Not Changed '''Ctrl+D'''  
| Clear all files that haven't been changed by the Preview. This also includes all files that have their New Name field empty (eg. because they haven't been previewed since last renaming operation).
+
| Clear all files that haven't been changed by the Preview. This also includes all files that have their New Name field empty (eg. because they have been successfully renamed or haven't been previewed since last renaming operation).
 
|}
 
|}
  
Line 145: Line 145:
 
|-
 
|-
 
| Invert Selection'''  Ctrl+I'''  
 
| Invert Selection'''  Ctrl+I'''  
| Selected files are unselected, and vice versa.
+
| Selected files become deselected, and vice versa.
 
|-
 
|-
 
| Select by Name Length  '''Ctrl+L'''  
 
| Select by Name Length  '''Ctrl+L'''  
Line 153: Line 153:
 
Specify the length of file name. Only files that exceed that length will be selected.  
 
Specify the length of file name. Only files that exceed that length will be selected.  
  
The length refers to ''base name'' only; not the dot or the extension.  
+
The length refers to the whole filename including dot and the extension.  
  
'''Note''': A typical application is to check if the file can be put on a CD/DVD. The maximum length allowed in ISO 9660-compliant file-system is 64 characters. Longer file names are truncated when you cut a CD/DVD. It is difficult to Correlate such files with their originals. To avoid such problems, shorten the names ''before'' cutting the CD/DVD.  
+
'''Note''': A typical application is to check if the file can be put on a CD/DVD. The maximum length allowed in ISO 9660-compliant file-system is 64 characters. Longer file names are truncated when you burn a CD/DVD. It is difficult to correlate such files with their originals. To avoid such problems, shorten the names ''before'' burning the CD/DVD.  
  
 
|-
 
|-
Line 164: Line 164:
 
Specify the extension (without the dot). All files having that extension will be selected.  
 
Specify the extension (without the dot). All files having that extension will be selected.  
  
You can enter multiple extensions (They must be separated by semicolons- not comma).  
+
You can enter multiple extensions (they must be separated by semicolons - not comma).  
  
 
|-
 
|-
Line 171: Line 171:
 
[[Image:SelectByMask.png]]  
 
[[Image:SelectByMask.png]]  
  
Specify the mask. All files matching that pattern will be selected. <br>You can enter multiple masks (They must be separated by semicolons- not comma).  
+
Specify the [[ReNamer:Masks|mask]]. All files matching that pattern will be selected. <br>You can enter multiple masks (they must be separated by semicolons - not comma).  
  
 
|}
 
|}
Line 182: Line 182:
 
|-
 
|-
 
| Up'''&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ctrl+Up'''  
 
| Up'''&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ctrl+Up'''  
| Moves the selected file up. This is used to re-arrange the files list.  
+
| Moves the selected file up. This is used to re-arrange files in the list.  
(It is better to use the keyboard shortcut '''CTRL+UpArrow''').  
+
It is easier to use the keyboard shortcut '''CTRL+UpArrow'''.  
  
 
|-
 
|-
 
| Down'''&nbsp; Ctrl+Down'''  
 
| Down'''&nbsp; Ctrl+Down'''  
 
| Moves the selected file down. This is used to re-arrange the files list.  
 
| Moves the selected file down. This is used to re-arrange the files list.  
(It is better to use the keyboard shortcut '''CTRL+DownArrow''').  
+
It is easier to use the keyboard shortcut '''CTRL+DownArrow'''.  
  
 
|}
 
|}
Line 194: Line 194:
 
=== Filters menu  ===
 
=== Filters menu  ===
  
When you click on the [[Image:FiltersButton.png]] button, the '''Filters''' window pops up. It controls what gets added to the '''Files''' pane when you use the&nbsp;[[Image:AddFoldersButton.png]] button.<br>  
+
When you click on the [[Image:FiltersButton.png]] button, the '''Filters''' window pops up. It controls what gets added to the '''Files''' pane when you use the&nbsp;[[Image:AddFoldersButton.png]] button or [[ReNamer:Adding files and folders#Adding files using the Drag-and-drop method|Drag & Drop]] or [[ReNamer:Adding files and folders#Adding files using the copy-and-paste method |Copy & Paste]] methods.<br>  
  
 
{| class="prettytable"
 
{| class="prettytable"
Line 206: Line 206:
 
|-
 
|-
 
| Add files within folders  
 
| Add files within folders  
| If you want to rename only directories, you would normally UNTICK Add files within folders option, and tick Add folders as files option. This will stop files being added from scanned folders.
+
| If you want to rename only directories, you would need to UNTICK ''Add files within folders'' option, and tick ''Add folders as files'' option. This will stop files being added from scanned folders.
 
|-
 
|-
 
| Add folders as files  
 
| Add folders as files  
| ReNamer treats folder just like a file (not as a container that holds files and subfolders). So only the folder and its subfolders are loaded as files; but not the files in it. Useful for renaming the folder itself.
+
| ReNamer treats folder just like a single filename (not as a container that holds files and subfolders). So only the folder is loaded, and not the files in it. Useful for renaming the folder itself.
 
|-
 
|-
 
| Include subfolders  
 
| Include subfolders  
Line 221: Line 221:
 
|-
 
|-
 
| Skip root folders when added as files  
 
| Skip root folders when added as files  
| Works when the Add folders as files option is selected. ReNamer adds all the subfolders by default (as files). But if ''this'' option is OFF, the folder itself will also be added to the list (as a file).
+
| Works when the ''Add folders as files'' and ''Include subfolders'' options are selected. When it's on, ReNamer adds all the subfolders but not the root folder itself.
 
|-
 
|-
 
| Masks  
 
| Masks  
| All added files (or folders as files) must match specified mask(s). For example, if you enter '''*.jpg;*.gif;*.png'''as masks, ReNamer will add only files with these extensions. Everything else will be filtered ''out ''(not added to ReNamer).
+
| All added files (or folders as files) must match specified [[ReNamer:Masks|mask(s)]]. For example, if you enter '''*.jpg;*.gif;*.png''' as masks, ReNamer will add only files with these extensions. Everything else will be filtered ''out''(not added to ReNamer).
 
|-
 
|-
| Apply only to file name  
+
| Apply only to the file name  
 
| Changes how the masks (see above) are applied.  
 
| Changes how the masks (see above) are applied.  
For example, suppose you have file '''''C:\Folder\File.ext'''''. If ''this'' option is ON, only the filename part ('''''File.ext''''') will checked against the mask(s). But if ''this'' option is OFF, the entire path ('''''C:\Folder\File.ext''''') will be checked against the mask(s).  
+
For example, suppose you have file '''''C:\Folder\File.ext'''''. If ''this'' option is ON, only the filename part ('''''File.ext''''') will be checked against the mask(s). But if ''this'' option is OFF, the entire path ('''''C:\Folder\File.ext''''') will be checked against the mask(s).  
  
 
|}
 
|}
  
Press '''Save''' to save changes and return to the '''Add Folders''' window.  
+
Press '''Save''' to save changes.  
  
 
|}
 
|}
  
In fact, this menu is also accessible during the '''Add Folder''' process. Hence it is described fully in [[ReNamer:Adding files and folders|Adding items using the 'Add Folders' button]] section.
+
'''Filters''' menu is also accessible from the '''Add Folder''' window. For details see [[ReNamer:Adding files and folders#Adding items using the 'Add Folders' button |Adding items using the 'Add Folders' button]] section.
  
 
=== Export menu ===
 
=== Export menu ===
Line 276: Line 276:
 
|-
 
|-
 
| Autosize columns  
 
| Autosize columns  
| Auto-size all columns, to accommodate the longest file names in each column.
+
| Auto-size all columns, to accommodate the longest entry in each column.
 
|-
 
|-
 
| Validate new names  
 
| Validate new names  
| Check if the new names are valid
+
| Check if the new names are valid.
 
|-
 
|-
 
| Fix conflicting new names  
 
| Fix conflicting new names  
| Add incremental numbers as suffixes to avoid conflicts in names. For example, if a new name for a file is Name1, and if it already exists in the target folder, then a suffix (1) is added to the newly renamed file. If more than one files have such name conflicts, ReNamer uses a incremental numbers (i.e., (1), (2), (3)...) as suffix; to make sure that each file gets a different suffix.
+
| Add incremental numbers as suffixes to avoid conflicts in names. For example, if a new name for a file is Name1, and if such a file already exists in the target folder, then a suffix (2) is added to the newly renamed file. If more than one files have such name conflicts, ReNamer uses incremental numbers (i.e. (2), (3)...) as suffixes to make sure that each file gets a unique name.
 
|-
 
|-
 
| Highlight changed names  
 
| Highlight changed names  
 
| Usually you load files only because you want to change their names. Yet, sometimes, some files escape all the rules you have loaded and remain unchanged. In such cases, you may want to know why that happened.  
 
| Usually you load files only because you want to change their names. Yet, sometimes, some files escape all the rules you have loaded and remain unchanged. In such cases, you may want to know why that happened.  
ReNamer can highlight the files that are going to change. Now you can investigate the remaining files.  
+
ReNamer can highlight files that are going to be changed. Now you can investigate the remaining files.
 +
 
 +
'''Note:''' ''Highlight changed names'' option works as a switch: it turns highlighting ON and OFF.
  
 
'''Tip:''' You can unmark the rules selectively and see the effect on the files. That will tell you which rules are working on which files. Once your analysis is over, you can mark all rules.  
 
'''Tip:''' You can unmark the rules selectively and see the effect on the files. That will tell you which rules are working on which files. Once your analysis is over, you can mark all rules.  
Line 327: Line 329:
 
|-
 
|-
 
| Apply rules to the clipboard  
 
| Apply rules to the clipboard  
|
+
| When you choose this option your rules will be applied to the text in clipboard instead of files in the '''Files''' pane. This might be useful eg. when working with word processors that don't support RegEx'es.
 
|-
 
|-
 
| Count marked and selected files '''Alt + I'''
 
| Count marked and selected files '''Alt + I'''
| Total count of items (selected + marked)
+
| It pops up a window with numbers of selected and marked files.
 
|}
 
|}

Revision as of 10:02, 29 August 2009

ReNamer has a menu bar between the Rules and Files panes MenuStrip.png.

This appendix describes options available from this menu.

Files button

When you click on the FilesButton.png button, the following list pops up:

FileMenu.png
Analyze Name Opens analysis window, and loads the names of the selected files into it.
Edit New Name F2 Starts manual editing of the selected filename.
Shell Options for Windows shell operations.
Mark Options for marking specific items.
Clear Options for removing specific items from the Files pane.
Select Options for selecting specific items.
Move Options for moving specific items.
Remove selected items Del Remove selected items from the ReNamer's File pane.
(This command does not delete the items from the disk.)

This menu provides second-level options, as follows:

Shell submenu

ShellSubMenu.png


Open File                Enter Open the selected file using its default associated application.
Open with Notepad  Shift+Enter Open the file with notepad. Useful when you want to see the raw data in the file. (When viewed this way, the file will not be displayed in its original formatting. It may not be easily readable.)
Open operating folder Ctrl+Enter Launch Windows Explorer and open the folder where the selected file is located. Highlight (select) the file in it.
File properties Alt+Enter Display the properties of the selected file. Typically, file size, dates (created/modified/accessed), comments, author, attributes (hidden, system, etc.)
Cut Files to clipboard Shift+Ctrl+X Cuts the selected file(s) to clipboard. All files will be moved to one folder, no matter where they were initially located.
(Note: If you do not paste the file(s) in a target application, the Cut operation is automatically canceled.)
Copy Files to clipboard Shift+Ctrl+C Copies selected file(s) to clipboard. All files will be copied to one folder, no matter where they were initially located.
Delete files to Recycle Bin Deletes the selected file(s) to Recycle Bin. (They can be recovered from the Recycle Bin.)

Note that if the file is too large for the Recycle Bin, Windows will warn you that it will not be put in Recycle Bin, but deleted permanently. If you confirm, the file is deleted permanently.

Mark submenu

MarkSubmenu.png

Note: Marking of files is explained here.

Mark       Shift+M Mark all selected files. If some files are already marked, they remain marked.
UnMark   Shift+U Unmark all selected files. If some files are already unmarked, they remain unmarked.
Invert Marking Ins Marked files become unmarked, and vice versa.
Mark only changed
(Inc. Case)
Mark files that have been changed. Files that had just change of case (and nothing else) will also be marked.
("Change of case" means some letters are converted capital-to-small and/or small-to-capital)
Mark only changed
(Exc. Case)
Mark files that have been changed, but do not consider changes of case.
("Change of case" means some letters are converted capital-to-small and/or small-to-capital)
Mark only selected Mark files that are selected. If some unselected files are already marked, they will be unmarked.
Mark by Mask Pops up a Mask window:

MarkByMask.png

Specify a mask pattern. All files that match this mask will be marked.

You can enter multiple masks (separating them with semicolon). If a file matches any of these masks, it will be marked.

Clear submenu

ClearSubmenu.png

Note: The term "Clear" means remove from Files pane of ReNamer.

Clear All Clear all files loaded in the pane.
Clear Renamed Clear all files which have been renamed just before this command. Note that even if some files are not affected by the rules, they are still regarded as renamed successfully.

Only files that failed to rename (those with an x mark) will remain in the pane.

Clear Failed Only files that failed to rename (those with an x mark) will be cleared.

All other files (including files whose names were not altered by the rules) will remain in the Files pane.

Clear Valid Clear files that have valid names after Preview (but haven't been renamed yet).
Clear Invalid Clear files that got invalid (causing conflicts, empty or with forbidden characters etc.) names after Preview (but before renaming).
Clear Marked Clear all marked files.
Clear Not Marked Clear all files that are not marked.
Clear Not Changed Ctrl+D Clear all files that haven't been changed by the Preview. This also includes all files that have their New Name field empty (eg. because they have been successfully renamed or haven't been previewed since last renaming operation).

Select submenu

SelectSubmenu.png

Note: Selection of files is explained here.

Select All  Ctrl+A All files in the pane will be selected.
Invert Selection  Ctrl+I Selected files become deselected, and vice versa.
Select by Name Length  Ctrl+L Pops up a window:

SelectByFileNameLengthDialog.png

Specify the length of file name. Only files that exceed that length will be selected.

The length refers to the whole filename including dot and the extension.

Note: A typical application is to check if the file can be put on a CD/DVD. The maximum length allowed in ISO 9660-compliant file-system is 64 characters. Longer file names are truncated when you burn a CD/DVD. It is difficult to correlate such files with their originals. To avoid such problems, shorten the names before burning the CD/DVD.

Select by Extension  Ctrl+E Pops up a window:

SelectByExtnDialog.png

Specify the extension (without the dot). All files having that extension will be selected.

You can enter multiple extensions (they must be separated by semicolons - not comma).

Select by Mask  Ctrl+M Pops up this window:

SelectByMask.png

Specify the mask. All files matching that pattern will be selected.
You can enter multiple masks (they must be separated by semicolons - not comma).

Move submenu

MoveSubmenu.png


Up      Ctrl+Up Moves the selected file up. This is used to re-arrange files in the list.

It is easier to use the keyboard shortcut CTRL+UpArrow.

Down  Ctrl+Down Moves the selected file down. This is used to re-arrange the files list.

It is easier to use the keyboard shortcut CTRL+DownArrow.

Filters menu

When you click on the FiltersButton.png button, the Filters window pops up. It controls what gets added to the Files pane when you use the AddFoldersButton.png button or Drag & Drop or Copy & Paste methods.

FilterSettingsDialog.png The options work as follows:
Option
Effect
Add files within folders If you want to rename only directories, you would need to UNTICK Add files within folders option, and tick Add folders as files option. This will stop files being added from scanned folders.
Add folders as files ReNamer treats folder just like a single filename (not as a container that holds files and subfolders). So only the folder is loaded, and not the files in it. Useful for renaming the folder itself.
Include subfolders Loads contents from all subfolders recursively.
Include hidden items To protect hidden items, deselect this option.
Include system items To protect files reserved for system (OS), deselect this option.
Skip root folders when added as files Works when the Add folders as files and Include subfolders options are selected. When it's on, ReNamer adds all the subfolders but not the root folder itself.
Masks All added files (or folders as files) must match specified mask(s). For example, if you enter *.jpg;*.gif;*.png as masks, ReNamer will add only files with these extensions. Everything else will be filtered out(not added to ReNamer).
Apply only to the file name Changes how the masks (see above) are applied.

For example, suppose you have file C:\Folder\File.ext. If this option is ON, only the filename part (File.ext) will be checked against the mask(s). But if this option is OFF, the entire path (C:\Folder\File.ext) will be checked against the mask(s).

Press Save to save changes.

Filters menu is also accessible from the Add Folder window. For details see Adding items using the 'Add Folders' button section.

Export menu

When you click on the ExportButton.png button, the following list pops up:

ExportMenu.png
Export the paths and undo paths
Export the paths and new names
Import the paths and new names
Import files from text-list or play-list
Export new names to clipboard
Import new names from clipboard

Options menu

When you click on the OptionsButton.png button, the following list pops up:

OptionsMenu.png
Autosize columns Auto-size all columns, to accommodate the longest entry in each column.
Validate new names Check if the new names are valid.
Fix conflicting new names Add incremental numbers as suffixes to avoid conflicts in names. For example, if a new name for a file is Name1, and if such a file already exists in the target folder, then a suffix (2) is added to the newly renamed file. If more than one files have such name conflicts, ReNamer uses incremental numbers (i.e. (2), (3)...) as suffixes to make sure that each file gets a unique name.
Highlight changed names Usually you load files only because you want to change their names. Yet, sometimes, some files escape all the rules you have loaded and remain unchanged. In such cases, you may want to know why that happened.

ReNamer can highlight files that are going to be changed. Now you can investigate the remaining files.

Note: Highlight changed names option works as a switch: it turns highlighting ON and OFF.

Tip: You can unmark the rules selectively and see the effect on the files. That will tell you which rules are working on which files. Once your analysis is over, you can mark all rules.

Analyze sample text Instead of experimenting with files, it is safer to test the effect of your rules on text.
  • Enter any text that looks like your target files, and see whether the rules work as desired on that text.
  • Edit the rules if the desired result is not achieved
  • Once you are satisfied with the rules, apply them on the real files.

Let us see an example.

I had already added a single Insert Rule in the Rules pane of ReNamer. It was set to insert "2" (without the quotes) at the 3rd position.

When the option is selected, a window like this pops up:

AnalyzeDialog.png

In this window, I have added some arbitrary text to show the effect of the rule. Notice how x is added at the 3rd character in each line. I can move the cursor to any position. In this example, it is at the 3rd position (see the status line at the bottom of the screenshot).

Now I am reassured that the rule does insert an x at position-3. (My renaming will happen as planned.) Now I can close this window and go ahead and rename my files.

The options in the window are as follows:

Line wrap Wraps a line if it exceeds the window's width. (note that the window's width can be adjusted by dragging its right border.)
Automatically apply rules You do  not have to press the ApplyRulesButton.png button.
Apply rules for each line Applies the rule to each line separately.


Apply rules to the clipboard When you choose this option your rules will be applied to the text in clipboard instead of files in the Files pane. This might be useful eg. when working with word processors that don't support RegEx'es.
Count marked and selected files Alt + I It pops up a window with numbers of selected and marked files.