TidyFile logo

TidyFile

Get Started

Quick answer

How automatic file moving works

Automatic file organisation works by checking files against a set of conditions and performing an action when a file matches. The basic process is:

1. Watch a folder
2. Check the file
3. Match a rule
4. Move the file

You can build this yourself with scripts and Windows tools, or use a dedicated application that provides the same workflow through a graphical interface.

What can you automate?

Automatic file moving
has plenty of uses.

The same basic idea can be applied to many different file organisation workflows.

Downloads

Move downloaded documents, images, archives and installers into separate folders automatically.

Invoices

Move files with specific names or patterns into a dedicated invoices folder.

Screenshots

Keep screenshots and other image files out of your main Downloads or Desktop folders.

Project files

Automatically move files associated with a project into the folder where they belong.

The basic concept

Look for something.
Then do something with it.

Almost every automatic file-moving system follows the same basic pattern. A folder contains files, a rule checks those files, and a matching file triggers an action.

Source

Downloads

Condition

Matches rule

Action

Move file

Method 1

Use PowerShell
to move files.

If you're comfortable with the command line, PowerShell can move files based on conditions you define.

For example, this script finds PDF files in Downloads and moves them into a PDF folder.

PowerShell
$source = "$env:USERPROFILE\\Downloads"
$destination = "$env:USERPROFILE\\Documents\\PDFs"

Get-ChildItem $source -Filter *.pdf -File |
    Move-Item -Destination $destination

The limitation

The script only runs when you run it. To make this happen automatically, you need another mechanism to run the script regularly or respond to new files.

Method 2

Combine PowerShell
with Task Scheduler.

Windows Task Scheduler can run your PowerShell script at a schedule. For example, you could run the script every few minutes, every hour or when you log in.

01

File appears

02

Task Scheduler waits

03

Script runs

04

Rule is checked

05

File is moved

Requires scripting knowledge
Requires Task Scheduler configuration
More difficult to maintain
Complex rules require more code

Method 3

Use TidyFile
without writing code.

If you want the same kind of rule-based automation without maintaining scripts and scheduled tasks, TidyFile provides a graphical way to create your file organisation rules.

01

Choose where to look

Select the directory containing the files you want TidyFile to organise.

02

Create your conditions

Build conditions that determine which files should be matched by the rule.

03

Choose the action

Tell TidyFile what should happen when a file matches, such as moving it to another folder.

04

Let it run

Once the rule is active, TidyFile handles the repetitive organisation in the background.

Real examples

What could you
automatically move?

Here are some simple workflows you can build around common file organisation problems.

Move PDFs

Name contains '.pdf' → Documents/PDFs

Move installers

Name contains '.exe' → Downloads/Installers

Move invoices

Name contains 'invoice' → Documents/Invoices

Move project files

Name contains 'Project-X' → Projects/Project-X

Which approach is right for you?

Manual, scripts or automation software?

ApproachEasy to set upAutomaticCustom rulesCoding
File Explorer✓———
PowerShell—✓✓Required
Task Scheduler—✓✓Usually
TidyFile✓✓✓—

Frequently asked questions

Automatic file moving FAQ

Can Windows automatically move files into folders?

Yes. Windows can be used with scripts and tools such as PowerShell and Task Scheduler to automate file movement. The downside is that setting up and maintaining those workflows can require some technical knowledge.

Can I automatically move downloaded files?

Yes. You can create rules that watch your Downloads folder and move matching files into other folders. This is useful for separating documents, images, archives, installers and other downloads.

Can I move files automatically based on their name?

Yes. A file name can be used as part of an automation rule. For example, files containing the word 'invoice' could be moved into an Invoices folder.

Can PowerShell automatically move files?

Yes. PowerShell can find files matching particular conditions and move them with commands such as Get-ChildItem and Move-Item. To make the process run automatically, you can combine a PowerShell script with Task Scheduler.

Can I automatically move files without coding?

Yes. A file organisation application such as TidyFile provides a graphical way to create rules without writing and maintaining PowerShell scripts.

Related guides

Keep improving
your file organisation.