How to: Auto Move Files Based on Name

In this tutorial you can see how to move files to predefined directories automatically according to its name with RoboBasket. In RoboBasket you can create rules for any folder to filter files and auto move them to other directories. Here is a sample of a rule:

With this rule RoboBasket will move files which name contains "Report" to "My Documents" folder.

You can download RoboBasket from here:

Download RoboBasket

Basic File Name Conditions

RoboBasket supports three kinds of name conditions to filter files:

Name Condition: This condition will check the item's name ( the name WITHOUT extension) to filter the file. You can check whether or not the file's name contains, starts with or ends with a specific text.



Extension Condition: This condition will check the item's extension.



Full Name Condition: This condition will check the item's full name (both name and extension).



Complex File Name Condition

You can combine two or more conditions to filter files. This gives you more flexibility.

If you combine conditions with "And" the rule will filter the files match all the conditions.



If you combine conditions with "Or" the rule will filter the files match any of the conditions.



Let's say you want to move all the files which name contains "order" but the extension is not "doc" you can create rule like this:



Name Pattern Condition

In the name and full name condition you can use "name pattern" to filter files. When you select the "matches pattern" option you can use the DOS wildcard characters in the file name.

A wildcard is a symbol that takes the place of an unknown character or set of characters. Commonly used wildcards are the asterisk ( * ) and the question mark ( ? ). The asterisk matches any sequence of characters, whereas the question mark matches any single character.

For example, if you enter "order*" as the pattern, the filter might match these items:
order
order-today
orders-year.txt

if you enter "order?.txt" as the pattern, the filer might match these items:
order1
orders

let's say you want to filter files which name starts with "new" and contains "order" in the middle you can enter the pattern like this "new*order", so the filter will look like this:



Now you can create a set of rules by using the name conditions and move action and let RoboBasket move your files to the right folders with just one click.