download free 30 days trial version buy bucket explorer
Documentation  Download  Purchase  Support  FAQs   Forum   ScreenShots & Demos

Aamzon S3 Command Line Tool


Bucket Commander is a command line tool for Amazon S3 . It runs as per the configuration set in configuration file and can also be scheduled for automation of task.

Scheduling: The Task Scheduler enables you to automatically perform routine tasks on a chosen schedule. The Task Scheduler does this by monitoring whatever criteria you choose to initiate the tasks (daily, weekly, etc., and time) and then execute the task when the criteria is met. With Scheduled Tasks, you can schedule any script, program, or document to run at the time you specify when creating the task.

Why do you need Scheduling of Bucket Commander: Scheduling feature allows you to take automatic backup of bulk processes. For example, if you want to upload your IIS logs to Amazon S3 daily on a particular time, then you can schedule this task through Bucket Commander. You can also use Bucket Commander to take a backup of one bucket’s files into another bucket on schedule.

Bucket Commander needs a configuration file which can be created using Bucket Explorer’s UI and manually . It allows you to save the configuration at your desired location.

Steps to create a Bucket Commander Configuration file:

  1. Start Bucket Explorer.
  2. Open "Tools" menu.
  3. Select "Commander" option.
  4. Click on "Edit Commander Configuration File" option.
  5. On top left of Edit commander configuration window, there is a File menu.
  6. On top of Edit commander configuration window, there are three tabs.
    • Uploads
    • Downloads
    • Copy

File Menu

Click on ‘File’ menu at menu bar. This will list menu items as —

  1. New: By clicking this option, all three tabs (Upload, Download, and Copy) will be cleared as well as ‘Commander Config File Path’ txt box so you can create a new commander configuration file.
  2. Open: By clicking this menu, you can open already saved Commander Configuration at your local system.

    Note: If you try to open some invalid commander configuration XML such as "Bucketexplorer.xml, file having extension other than XML, etc." then Bucket Explorer will show you the proper message.

    • This will open "Open File Chooser Dialog box".
    • You can select a file and this Configuration file content will be displayed in "Edit Commander Config" window.
    • Selected file path will be displayed at "Commander Config File Path" text box at the bottom of the window.
    • Same path will be saved at BucketExplorer.xml with "Commander_Config_File_Path" tag.
  3. Save: This will work similarly with save option given at 'Save' button followed by "Commander Config File Path" text box.
  4. Save As: This will work similarly with save option given at ‘Save As’ button followed by "Commander Config File Path" text box.
    • If you have selected any file either BucketCommander.xml or any other configuration file from local system by clicking this option, you can save it with a different name.
  5. Last Edited Configuration File: This will show you the last edited Configuration File.
  6. Use Default: This will take the Bucket Explorer home path for commander config to where the commander config is saved by default.
    • This will show all configuration information for upload, download, and copy bucket which are saved in default commander config file in the "Edit commander config" window.
    • The default path is shown in the "Commander Config File Path" text box at the bottom of the window by clicking this option.
  7. "Commander Config File Path" Text Box: This will show you the path of the current opened commander configuration.
  8. "Ignore Root Folder" Check Box: This will help user to ignore root folder during upload and download operation, and the corresponding operation will be performed for files of the configured folder only. That means although you have configured a folder for Upload/Download, only files of that folder will be uploaded/downloaded.

How to add file(s) and folder(s) for Uploading?

  1. Click on Add button. It opens a new box for Upload operation.
  2. In Upload box, you have to give bucket name and virtual folder.
  3. Set overwrites checked or unchecked as per your requirement.
  4. Select comparison type as "Compare Name and Size" or "Compare Name and Hash" .
  5. Click on "Add Files" to add files to be uploaded in upload operation.
  6. Clicking on "Add Files" takes you to a drive box. Select a file from the drive box and click "Open".
  7. Click on "Remove File" to remove selected file from list.
    • Note: You can remove file only when there is at least one file that exists in that list.
  8. Click on "OK".
  9. You will be taken to the previous window again and you can see your files in rows.

How to add bucket for Copying?

  1. Click on Add button. It opens a new box for "Copy Bucket".
  2. In Copy Bucket box, select Source Bucket (From where you want to copy files) and Destination Bucket (Where you want to copy the files) from the Drop down list.
  3. Set overwrites checked or unchecked as per your requirement.
  4. Select comparison type as "Compare Name and Size" or "Compare Name and Hash" .
  5. Click on "OK" .
  6. You will be taken to the previous window again and you can see your files in rows.
Clicking on "Save" button saves all the commands and command file will execute all operation in the background. You can see the commands by running Bucket Commander.
Same as Add new operation, you can Edit also.

NOTE: When you perform copy/upload operation, make sure that the destination Bucket must not be a system Bucket because these operations cannot be performed on system Bucket.
  • Compare Name and Size: If this option is selected, Bucket Explorer compares the name and size of the file with the name and size of the Object.
  • Compare Name and Hash: If this option is selected, Bucket Explorer calculates the hash and matches it with the ETAG of the Object.