RenameCommand Class
Show Rename about supported formats (Command: rn).

The builder is RenameCommandBuilder.

graph BT Type-->Base0["object"] Type-.->Interface0["ICommand"] click Interface0 "/cake-test/api/Cake.SevenZip.Commands/ICommand" Type-.->Interface1["IHaveArgumentArchive"] click Interface1 "/cake-test/api/Cake.SevenZip.Arguments/IHaveArgumentArchive" Type-.->Interface2["IHaveArgument"] click Interface2 "/cake-test/api/Cake.SevenZip.Arguments/IHaveArgument" Type-.->Interface3["ISupportSwitchIncludeFilenames"] click Interface3 "/cake-test/api/Cake.SevenZip.Switches/ISupportSwitchIncludeFilenames" Type-.->Interface4["ISupportSwitchCompressionMethod"] click Interface4 "/cake-test/api/Cake.SevenZip.Switches/ISupportSwitchCompressionMethod" Type-.->Interface5["ISupportSwitchPassword"] click Interface5 "/cake-test/api/Cake.SevenZip.Switches/ISupportSwitchPassword" Type-.->Interface6["ISupportSwitchRecurseSubdirectories"] click Interface6 "/cake-test/api/Cake.SevenZip.Switches/ISupportSwitchRecurseSubdirectories" Type-.->Interface7["ISupportSwitchTimestampFromMostRecentFile"] click Interface7 "/cake-test/api/Cake.SevenZip.Switches/ISupportSwitchTimestampFromMostRecentFile" Type-.->Interface8["ISupportSwitchUpdateOptions"] click Interface8 "/cake-test/api/Cake.SevenZip.Switches/ISupportSwitchUpdateOptions" Type-.->Interface9["ISupportSwitchWorkingDirectory"] click Interface9 "/cake-test/api/Cake.SevenZip.Switches/ISupportSwitchWorkingDirectory" Type-.->Interface10["ISupportSwitchExcludeFilenames"] click Interface10 "/cake-test/api/Cake.SevenZip.Switches/ISupportSwitchExcludeFilenames" Type-.->Interface11["ISupportSwitch"] click Interface11 "/cake-test/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 Property Type 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 Return Value Summary
BuildArguments(ProcessArgumentBuilder) void
Builds the arguments. Used internally.