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

Bucket Commander: Amazon S3 command line tool to automate bulk process.

Bucket Commander is a command line tool for Amazon S3 . It runs as per 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 also) and then execute the task when the criteria is met. With Scheduled Tasks, you can schedule any script, program, or document to run at a time that you specify when creating the task.

Why the need to Schedule of Bucket Commander : Scheduling allows you to take automatic backup of bulk process. For example, if you want to upload your IIS logs to Amazon S3 daily on a particular time, you can schedule this task through Bucket Commander. You can also use Bucket Commander to take backups 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 also allows you to save the configuration at any other desired location.
 

Follow the steps below 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 the top left of Edit commander configuration window, there is a File menu.
  6. On the top left of Edit commander Configuration window, there are three tabs.
    • Uploads
    • Downloads
    • Copy

File Menu:

Click on ‘File’ menu at menu bar. This will List the menu items below:
  1. New: By clicking this option, all three tables (Upload, Download and copy) will be cleared, as well as the ‘Commander Config File Path’ text box. So you can create a new commander configuration file.
  2. Open:  By clicking this menu, we can open already saved Commander Configuration in our local system.
    - This will open “Open File Chooser Dialog box”.
    - You can select the file and the Configuration file content will be displayed in ‘Edit Commander config’ window.
    - The selected file path will be displayed in “Commander Config File Path” text box at the bottom of the window.
    - Same path will be saved in BucketExplorer.xml with “Commander_Config_File_Path” tag.
      Note: If you try to open some invalid commander configuration XML such as ‘’Bucketexplorer.xml, file having an extension other than XML, etc Bucket Explorer will show you the proper message.
  3. Save: This will work similarly with save option given in ‘Save’ button followed by “Commander Config File Path” text box.
    - By default, this will save the configuration to BucketCommander.xml.
    - If you have selected the file from the local system, it will save the configuration to that file.
  4. Save As: This will work similarly with save option in ‘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 in local system, by clicking this option, User can save it with a different name.
  5. Last Edited Configuration File: This will show the last edited Configuration File.
    - The path of last edited file will be displayed in “Commander Config File Path” text box.
  6. Use Default: This will take the Bucket Explorer home path for commander config file where the commander config file is saved by default.
    - This will show all the 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 on this option.
  7. “Commander Config File Path” Text Box: This will show the path of the current opened commander configuration.
  8. "Ignore Root Folder" Check Box: This will help the user to ignore the root folder during upload and download operation, and the corresponding operation will be performed for files of the configured folder only. It means that only files of that folder will be uploaded/downloaded although you have configured a folder for Upload/Download.
 

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

  1. Click on Add button, it will open a new box for Upload operation.
  2. In Upload box, you have to give the bucket name and virtual folder.
  3. Set overwrites checked or unchecked as per your requirement.
  4. Select comparison type "Compare Name and Size" [1] or "Compare Name and Hash" [2]
  5. Click on "Add Files" to add a file that is to be uploaded in the upload operation.
  6. Clicking on "Add files" will take you to a drive box. Select file from the drive box and click on "Open".
  7. Click on "Remove File" to remove the selected file from the list.
    Note : You can only remove file 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 file(s) and folder(s) for Downloading?

  1. Click on Add button. It will open a new box of Download.
  2. In Download operation box, give the bucket name and destination path.
  3. Set overwrites checked or unchecked as per your requirement.
  4. Select comparison type "Compare Name and Size" [1] or "Compare Name and Hash" [2]
  5. Click on "Add Object" to add object that is to be downloaded in the Download operation.
  6. Click on "Add object". You will be asked to Enter File path and type, give it and click on "Ok".
  7. Click on "Remove Object" button to remove any selected Object from the list.
    Note : You can remove Object only when it exists in list.
  8. Click on "OK".
  9. You will be taken to the previous window again and you can see your object in row.

How to add bucket for Copying?

  1. Click on Add button, It will open a new box of "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 files) from the Drop down list.
  3. Set overwrites checked or unchecked as per your requirement.
  4. Select comparison type "Compare Name and Size" [1] or "Compare Name and Hash" [2]
  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 the operations in the background. You can see the commands by running Bucket Commander.

Same with Add new operation, you can also Edit.

NOTE : When you perform copy/upload operation, make sure that the destination Bucket must not be the  system Bucket , because these operations can not be performed on the 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 Object.
  • ˆ Compare Name and Hash: If this option is selected, Bucket Explorer calculates the hash and matches it with the ETAG of Object.

Related Topics: