File

back to index

Copy Files...
Move Files...
Create Dir....
Delete...
Delete completly...
Zip...
Replace in Files...
Rename...
Get Size...
Run...

In this section are listed the action you can perform on files. This list only the standard file actions included in Ant Commander as you can create any action you want using ANT tasks. More (advanced) tasks are available in the actions. You can also create your own task to perform specific file operations.

Ant Commander make the location of the files transparent, whether the file is in a zip file, on a FTP server or on the network, you can interact with the file as if it was a local file. For example if you copy a file then you may actualy unzip it or FTP download it.

Copy
Copy a file.
Copy the selected files to another directory.

Move
Move a file.
Move the selected files to another directory.

Create Dir.
Create a new directory.

Delete
Delete the selected files.
CAUTION: On Windows the files won't go to the recycled bin but will be directly deleted.

Zip
Zip the selected files.

Replace in files
Replace one word with another in the selected files. More information about regular expression is given below.

Rename
Rename the selected files.
Examples of standard patterns:
  • From "*.txt" To "*.bak"
  • From "DSC*.jpg" To "Holydays*.jpg"
Examples of regular expression patterns:
  • From ".*\..*" To "\2.\1"
  • From "DSC22[0-5][0-9].jpg" To "Holydays\1\2.jpg"

Get Size
Get the size in byte of the selected files and directories.

Run
Launch a program.