Page 1 of 1

How to copy files from a folder WITHOUT the folder?

PostPosted: Sat Apr 28, 2012 3:00 pm
by bowie
How to copy all the content/all the files of a specific folder to a new folder WITHOUT the folder itself. So:

OLDFOLDER
=========
- FolderA
file1
file2

to:

NEWFOLDER
=========
file1
file2

No matter what I am trying, Hazel keeps copying FolderA to NEWFOLDER!!

Can somebody please help me with a rule-set that does this please.

Really hoping somebody can help :roll:

I am using Hazel 3.0

Re: How to copy files from a folder WITHOUT the folder?

PostPosted: Sun Apr 29, 2012 2:24 pm
by a_freyer
What folder are you monitoring? What is your exact rule? Are file 1 and file 2 within Folder A? Is Folder A within OLD FOLDER, or is it old folder?

If you want this:

Code: Select all
Old Folder
   - File 1
   - File 2


To become this:

Code: Select all
Old Folder (no content)

New Folder
   - File 1
   - File 2


Then this rule will do what you're looking to do:

Code: Select all
Monitors: OLD FOLDER
Name: Move All Files from This Folder to NEW FOLDER

if (all) of the following are true for (current file or folder)
     Any file

Then
     Move to NEW FOLDER


I have a rule very similar to this moving ALL things from my downloads folder to my desktop, where most of my sorting rules apply. This rule does NOT move the downloads folder, but it does move all files and folders within the downloads folder.

If this is not what you're trying to do, give a bit more information and the exact text of your rule. That will help debug your problem.

Re: How to copy files from a folder WITHOUT the folder?

PostPosted: Mon Apr 30, 2012 12:20 am
by bowie
It is the individuals files of some "randomly" folders (can be multiple folders). I then want to scan those folders and move the current files of these folders to ONE new folder so that I only have files without their top-folder.
Hope somebody can help :)

Re: How to copy files from a folder WITHOUT the folder?

PostPosted: Mon Apr 30, 2012 10:03 am
by Mr_Noodle
Again, read the sticky article at the top of the forum about subfolders.