Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Copying Populated Folders Only

06 Nov 2011   #1
rkaczano

32 Home Premium
 
 
Copying Populated Folders Only

I want to copy a bunch of folders. Some are populated with subfolders, some are not. I cannot find a folder property that tells me whether the folder itself is populated without right clicking and going to properties and looking at the "Contains" property.

I want to be able to eyeball the folders that have subfolders and the ones that don't and then only copy the populated ones.

Is there a property that will tell me this?

P.S. I know I can then go to Folder Options and "Use checkboxes" to highlight the ones I want.

Thanks


My System SpecsSystem Spec
.
06 Nov 2011   #2
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Welcome to Seven forums.
There is no built-in folder option to see in a folder without opening it. You can get an idea though by hovering your cursor on folder. If this is what you mean?
Copying Populated Folders Only-props.png
click to enlarge


My System SpecsSystem Spec
06 Nov 2011   #3
MilesAhead

Windows 7 32 bit
 
 

According to the docs
xcopy /s only copies subdirectories that are not empty.
You'll have to try it to see how "empty" is defined. I believe it may copy if the directory contains another directory even if neither has any files. But you'd have to try and see.

at a command prompt enter

xcopy /?

to get all the switches. Also there are some Guis around to make using XCopy easier such as "the xcopy tool" xxcopy etc..
My System SpecsSystem Spec
.

06 Nov 2011   #4
rkaczano

32 Home Premium
 
 

I should have been clearer. I actually want to CUT the populated folders not COPY them. I want to leave behind the empty ones.

Thanks
My System SpecsSystem Spec
07 Nov 2011   #5
logicearth

Windows 10 Pro (x64)
 
 

robocopy...
Code:
> robocopy source_directory dest_directory /S /MOVE
My System SpecsSystem Spec
Reply

 Copying Populated Folders Only




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Copying Files to System Folders Denied
I have UAC completely turned off. When I try to copy any file into the Program Files sub-folder, I'm denied by Windows. I tried applying full permissions to a folder, that didn't even succeed, so I can copy a few files to a sub-folder within program files. I know Windows has tough security...
General Discussion
Copying Folders = Missing Content
I took a friend's hard drive out of their computer as Windows won't boot and wanted all their data saved. I plugged into my computer, saw the extra drive, and prepared to copy their "Documents and Settings" folder, which has all their subfolders and files. That folder has 18.3 gigs, 3.047...
General Discussion
Robocopy copying folders from the wrong place
I've set up a back up batch file to copy my Documents, Pictures, Music, and Videos folders from my computer to an external hard drive. However, while running the Documents backup, it seems to find, the pictures, music, and videos folders all inside the documents folders labelled "My Music", etc. ...
General Discussion
Robocopy - Copying Folders With Spaces in The Title.
Hey guys, This may sound like a really silly question, but I'm just getting to grips with using Robocopy. How do you copy folders with spaces in the title? E.g: T:\Admin Tools I keep getting an error. Any help would be great thanks.
Backup and Restore
About copying XP folders to 7
We have a new Windows 7 computer. I have backed up files off a old XP computer and will copy the backed up files off an external disk. Will leaving the old thumbs.db and various .ini files in the folders I copy have an conflict on the new Windows computer? I don't think I ever had a problem...
Backup and Restore
Copying from external HD or network folders
Hi Everyone I am new here and new to Windows 7 which I installed on the weekend in order to run my media through the Win7 MC. I ran into a problem when I try to copy from external HD (USB external drives) or shared network folder. Every time I try to copy something, and it...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:42.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App