How to copy files from a folder WITHOUT the folder?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

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
bowie
 
Posts: 7
Joined: Fri Apr 20, 2012 3:59 am

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.
a_freyer
 
Posts: 631
Joined: Tue Sep 30, 2008 9:21 am
Location: Colorado

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 :)
bowie
 
Posts: 7
Joined: Fri Apr 20, 2012 3:59 am

Again, read the sticky article at the top of the forum about subfolders.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support