windows - How would I copy all files and folders except for hidden ones? -


on drive s:\ have folder x has multiple files , subfilders, each of in turn contains own files , subfolders , on. each folder(at level) contains hidden folder named same way, hid, several files in it.

i have same structure in drive d:\ - same folder x same structure, slighly different contents in files.

basically need copy-and-replace contents of x s:\ d:\, not touch hidden folders hamed hid (basically, unique in 2 independent ways - fact named hid , fact hidden).

i'm lazy manually , don't feel writing c++ application either. there easy way using small bat file or direct shell command smart arguments?

you may interested in xcopy command. says, "by default, xcopy not copy hidden or system files.". has exclude option, seems used ignoring specially named files.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -