RenameCommand Class

Summary

Show Rename about supported formats (Command: rn).

The builder is RenameCommandBuilder.

graph BT Type-->Base0["object"] Type-.->Interface0["ICommand"] click Interface0 "/Cake.7zip/api/Cake.SevenZip.Commands/ICommand" Type-.->Interface1["IHaveArgumentArchive"] click Interface1 "/Cake.7zip/api/Cake.SevenZip.Arguments/IHaveArgumentArchive" Type-.->Interface2["IHaveArgument"] click Interface2 "/Cake.7zip/api/Cake.SevenZip.Arguments/IHaveArgument" Type-.->Interface3["ISupportSwitchIncludeFilenames"] click Interface3 "/Cake.7zip/api/Cake.SevenZip.Switches/ISupportSwitchIncludeFilenames" Type-.->Interface4["ISupportSwitchCompressionMethod"] click Interface4 "/Cake.7zip/api/Cake.SevenZip.Switches/ISupportSwitchCompressionMethod" Type-.->Interface5["ISupportSwitchPassword"] click Interface5 "/Cake.7zip/api/Cake.SevenZip.Switches/ISupportSwitchPassword" Type-.->Interface6["ISupportSwitchRecurseSubdirectories"] click Interface6 "/Cake.7zip/api/Cake.SevenZip.Switches/ISupportSwitchRecurseSubdirectories" Type-.->Interface7["ISupportSwitchTimestampFromMostRecentFile"] click Interface7 "/Cake.7zip/api/Cake.SevenZip.Switches/ISupportSwitchTimestampFromMostRecentFile" Type-.->Interface8["ISupportSwitchUpdateOptions"] click Interface8 "/Cake.7zip/api/Cake.SevenZip.Switches/ISupportSwitchUpdateOptions" Type-.->Interface9["ISupportSwitchWorkingDirectory"] click Interface9 "/Cake.7zip/api/Cake.SevenZip.Switches/ISupportSwitchWorkingDirectory" Type-.->Interface10["ISupportSwitchExcludeFilenames"] click Interface10 "/Cake.7zip/api/Cake.SevenZip.Switches/ISupportSwitchExcludeFilenames" Type-.->Interface11["ISupportSwitch"] click Interface11 "/Cake.7zip/api/Cake.SevenZip.Switches/ISupportSwitch" Type["RenameCommand"] class Type type-node

Syntax

public sealed class RenameCommand : ICommand, IHaveArgumentArchive, IHaveArgument, 
    ISupportSwitchIncludeFilenames, ISupportSwitchCompressionMethod, ISupportSwitchPassword, 
    ISupportSwitchRecurseSubdirectories, ISupportSwitchTimestampFromMostRecentFile, 
    ISupportSwitchUpdateOptions, ISupportSwitchWorkingDirectory, ISupportSwitchExcludeFilenames, 
    ISupportSwitch

Constructors

Name Summary
RenameCommand() Initializes a new instance of the RenameCommand class.

Properties

Name Value Summary
Archive FilePath?
Sets the archive the command operates on.
CompressionMethod SwitchCompressionMethod?
Gets or sets the compression method.
ExcludeFilenames SwitchExcludeFilenameCollection?
Gets or sets the SwitchExcludeFilenameCollection.
IncludeFilenames SwitchIncludeFilenameCollection?
Gets or sets the SwitchIncludeFilenameCollection.
Password SwitchPassword?
Gets or sets the SwitchPassword.
RecurseSubdirectories SwitchRecurseSubdirectories?
Gets or sets the SwitchRecurseSubdirectories.
RenamePairs ICollection<RenamePair>
Gets the files to be renamed.
TimestampFromMostRecentFile SwitchSetTimestampFromMostRecentFile?
Gets or sets the SwitchSetTimestampFromMostRecentFile.
UpdateOptions SwitchUpdateOptions?
Gets or sets the SwitchUpdateOptions.
WorkingDirectory SwitchWorkingDirectory?
Gets or sets the SwitchWorkingDirectory.

Methods

Name Value Summary
BuildArguments(ProcessArgumentBuilder) void
Builds the arguments. Used internally.
GitHub Discussion