How can I list all files recursively that have the compressed attribute set?

0

0

I started a decompress operation using compact /U /S /I /Q > compact-report.txt on a large dir (120GB+, ~950M+ files) and it has been going on for about 24 hours now. Most files seem decompressed, but I am wondering whether it is hanging on a certain file by listing all files that are not decompressed yet.

I know that the command compact /s lists the compressed status of all files recursively, but is there a command that lists just those files that are actually compressed?

Note: I solved it temporarily by running `compact /s >status.txt" and querying the text file for ocurrences of "New files added to this directory will not be compressed.", and it turns out that the total number remains the same, leading me to a next question, but I'm still interested in a more direct command"

Abel

Posted 2014-04-17T23:54:36.210

Reputation: 1 280

Yep, a billion files will make NTFS weep in sweet misery. If anyone finds a way of dumping a billion files in rapid succession, let me know.

I hope the directory structure was laddered to host the actual files.

Usually when I deposit millions or billions of files to disk I use their hash or date timestamp to create folders 5 or 6 deep, and drop the files in those destination folders. Seems to help a lot. – beeks – 2014-04-18T03:08:02.277

Possible duplicate of How can I search for files that are either compressed or uncompressed in Windows Explorer?

– and31415 – 2014-04-18T10:17:05.273

@beeks: the directories contain Hg repositories, not much I can do to change the structure of the dirs, the dirnames or the depths. – Abel – 2014-04-18T12:56:28.527

No answers