The Overwrite Rules Editor provides fine-grained control over dictating if an exsting item within the root destination should be overwritten or simply ignored.

Please note that the Overwrite Rules Editor is not available in the Free version of FileSieve.

General

  • ToolBar
    • New
    • Adds a new, empty Rule to the list.

    • Remove
    • Removes the selected Rule(s) from within the list.

    • Clear
    • Clears all Rules from within the list.

    • Load
    • Displays a file selector that allows the loading of a previously-saved Rules list.

    • Save
    • Displays a file selector that allows the saving of the entire Rules list.

    • Presets
    • Displays the Presets dropdown list.

      The Presets list contains commonly-used overwrite rules so you don't have to write them yourself each time.

  • Rules List
  • The list of created rules. Unchecking (removing the tick) from a rule will prevent that rule from being run when a duplicate item is encountered for the currently active profile.

    Tip

    Multiple rules can have their settings changed at the same time; select more than one rule and then edit the options as normal.

  • FieldDefault: FilenameExtension
  • The field that the regular expression should be compared against.

    Please note that there are both Old and New fields available; the Old fields refer to the original file that is being processed, and the New fields refer to the newly-processed file. Regardless of which file is being processed, the fields below are same for both.

    The fields below are displayed using the following example file to give you a more accurate view of what each field returns.

    Full path & filename: d:\music\mysong.mp3

    • Filename
    • The filename part. Example: mysong

    • Extension
    • The extension of the file, including leading full stop; empty if file does not have one. Example: .mp3

    • PathFilenameExtension
    • The path, filename, and extension. Example: d:\music\mysong.mp3

    • Path
    • The path. Example: d:\music

    • FilenameExtension
    • The filename and extension. Example: mysong.mp3

    • FileSize
    • The filesize, in bytes. Example: 3467932

    • FileAttributes
    • The file's attributes. This field can return multiple properties, which are each separated by a comma.

      At the time of writing, the available attributes are listed as follows (the descriptions are taken from MSDN).

      File with single attribute: Archive
      File with multiple attributes: Archive,ReadOnly,Hidden

      • Archive
      • The file is a candidate for backup or removal.

      • Compressed
      • The file is compressed.

      • Device (available; but shouldn't appear)
      • Reserved for future use.

      • Directory (available; but shouldn't appear)
      • The file is a directory.

      • Encrypted
      • The file or directory is encrypted. For a file, this means that all data in the file is encrypted. For a directory, this means that encryption is the default for newly created files and directories.

      • Hidden
      • The file is hidden, and thus is not included in an ordinary directory listing.

      • IntegrityStream
      • The file or directory includes data integrity support. When this value is applied to a file, all data streams in the file have integrity support. When this value is applied to a directory, all new files and subdirectories within that directory, by default, include integrity support.

      • Normal
      • The file is a standard file that has no special attributes. This attribute is valid only if it is used alone.

      • NoScrubData
      • The file or directory is excluded from the data integrity scan. When this value is applied to a directory, by default, all new files and subdirectories within that directory are excluded from data integrity.

      • NotContentIndexed
      • The file will not be indexed by the operating system's content indexing service.

      • Offline
      • The file is offline. The data of the file is not immediately available.

      • ReadOnly
      • The file is read-only.

      • ReparsePoint
      • The file contains a reparse point, which is a block of user-defined data associated with a file or a directory.

      • SparseFile
      • The file is a sparse file. Sparse files are typically large files whose data consists of mostly zeros.

      • System
      • The file is a system file. That is, the file is part of the operating system or is used exclusively by the operating system.

      • Temporary
      • The file is temporary. A temporary file contains data that is needed while an application is executing but is not needed after the application is finished. File systems try to keep all the data in memory for quicker access rather than flushing the data back to mass storage. A temporary file should be deleted by the application as soon as it is no longer needed.

    • FileDateAccessed
    • The date and time the file was last accessed. This may not be available on all systems as disabling this feature at the Windows file-system level can result in a significant I/O performance increase. Example: 09/07/2016 14:56:27

    • FileDateCreated
    • The date and time the file was created. Example: 09/07/2016 14:56:27

    • FileDateModified
    • The date and time the file was last modified. Example: 09/07/2016 14:56:27

  • On-match RegEx
  • The regular expression that is used for checking against the selected Field setting.

    Tip

    All Rules will have their On-match RegEx field validated to ensure they are using correct regular expression syntax. Any errors will be shown and will have to be corrected before the Save button can be pressed.

  • ActionDefault: RenameUsingMask
  • The action to perform if the RegEx regular expression check against the Field setting matches.

    • Ignore
    • Don't overwrite the destination item. This essentially ignores the source item.

    • Overwrite
    • Overwrite the destination item with the source item.

    • RenameUsingMask
    • Rename the source item using the Rename Mask value when processing it into the root destination.

  • Rename MaskDefault: %file% (#).%ext%
  • The renaming mask to use if the Action is set to RenameUsingMask.

Keyboard Shortcuts

Unless stated otherwise, these keyboard shortcuts are global to the entire window; pressing them regardless of which control is active will cause them to trigger.

  • F1, Help
  • Displays this page of the documentation.

  • Ctrl+N
  • This is the keyboard equivalent of clicking on the New toolbar button.

  • Ctrl+E
  • This is the keyboard equivalent of clicking on the Remove toolbar button.

  • Ctrl+C
  • This is the keyboard equivalent of clicking on the Clear toolbar button.

  • Ctrl+L
  • This is the keyboard equivalent of clicking on the Load toolbar button.

  • Ctrl+S
  • This is the keyboard equivalent of clicking on the Save toolbar button.

  • Ctrl+P
  • This is the keyboard equivalent of clicking on the Presets toolbar button.

  • F11
  • This is the keyboard equivalent of clicking on the Save button.

  • F12
  • This is the keyboard equivalent of clicking on the Cancel button.