Find sparse files with sparse: or whathaveyou

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Herkules97
Posts: 78
Joined: Tue Oct 08, 2019 6:42 am

Find sparse files with sparse: or whathaveyou

Post by Herkules97 »

So I was going to ask in an unsent post if you could see size on disk like in Windows file properties.
I decided to not be lazy and I checked and became disappointed when I haven't indexed it on any of my databases :(.
Anyway, is there a way to sort sparse files or only search for them doesn't use attributes?
Because I have files like..
"Size: 22,9 GB (24 621 875 200 byte)"
"Size on disk: 25,6 MB (26 869 760 byte)"
that does not have the P attribute, I think that's the sparse one.
All it has is A for "Archive".
Hmm, cmd doesn't say there is a sparse one. I thought there was one that was either O or P but neither are for that.

For example I search sparse: and it finds them? Not sure there is a tag for this stuff that Windows has.
It's not just comparing the size and size on disk, if I copy the file above to a different drive it will take 22.9GB on both entries, but it's still just as incomplete.

Even if I use something like http://www.flexhex.com/docs/articles/sparse-files.phtml (Internet Archive) I would still not be able to easily find them.
I found the file above because it's one of the larger files on the drive and I know it's incomplete from before.
But that could be a way to at least keep the sparseness for this full drive copy I am hoping I can do.
void
Developer
Posts: 17153
Joined: Fri Oct 16, 2009 11:31 pm

Re: Find sparse files with sparse: or whathaveyou

Post by void »

To find sparse files in Everything, include the following in your search:

attributes:0x00000200

There's no attribute-letter for sparse in Everything or Windows Explorer (and likely cmd).

attributes:
Herkules97
Posts: 78
Joined: Tue Oct 08, 2019 6:42 am

Re: Find sparse files with sparse: or whathaveyou

Post by Herkules97 »

void wrote: Mon Jun 17, 2024 11:24 pm To find sparse files in Everything, include the following in your search:

attributes:0x00000200

There's no attribute-letter for sparse in Everything or Windows Explorer (and likely cmd).

attributes:
Yeah, just one of those things I dreamt up and then treated as if it existed.
A shame it doesn't work for files that have already been copied off without keeping sparseness.
But they can be compared with the drive originally containing them.
Last edited by Herkules97 on Tue Jun 18, 2024 7:43 am, edited 1 time in total.
void
Developer
Posts: 17153
Joined: Fri Oct 16, 2009 11:31 pm

Re: Find sparse files with sparse: or whathaveyou

Post by void »

Everything 1.4 did have P for sparse.

Microsoft Windows added P for Pinned in Windows 10.
Everything 1.5 will use P for Pinned.
Post Reply