Quick Deletion of Files in Windows

Quick Deletion of Files in Windows

Author
Discussion

Fallingup

Original Poster:

1,627 posts

104 months

Friday 14th October 2022
quotequote all
Hi
Can anyone please advise. I have a Windows folder that contains about 500 CR2 (photograph) files and 500 XMP files. I want to get rid of the XMP files. Is there a quick way to delete all the XMP files without having to do them all individually, which will take forever. The XMP files are alternative with the CR2 files so I can't just Control A to select them.

Nimby

4,850 posts

156 months

Friday 14th October 2022
quotequote all
Command prompt:
Del *.xmp

GlenMH

5,259 posts

249 months

Friday 14th October 2022
quotequote all
In windows explorer, sort by file type. Select the top one you want to delete, shift-select the bottom one then press delete.

sociopath

3,433 posts

72 months

Friday 14th October 2022
quotequote all
Easy to do as shown above but why delete the xmp files?

Fallingup

Original Poster:

1,627 posts

104 months

Friday 14th October 2022
quotequote all
GlenMH said:
In windows explorer, sort by file type. Select the top one you want to delete, shift-select the bottom one then press delete.
Perfect. Thank you very much.

Fallingup

Original Poster:

1,627 posts

104 months

Friday 14th October 2022
quotequote all
sociopath said:
Easy to do as shown above but why delete the xmp files?
It's a long story. I'm learning how to use Photoshop and having mucked up. Want to simplify things again.
Thanks for your help everyone. beer

sociopath

3,433 posts

72 months

Friday 14th October 2022
quotequote all
Fallingup said:
sociopath said:
Easy to do as shown above but why delete the xmp files?
It's a long story. I'm learning how to use Photoshop and having mucked up. Want to simplify things again.
Thanks for your help everyone. beer
The xmp is just the record of your raw edits, so you can just reset in the raw editor and it resets the xmp file.
Not sure which version of photoshop you're using but mine has an "as shot" option which takes it back to the start

Fallingup

Original Poster:

1,627 posts

104 months

Saturday 15th October 2022
quotequote all
sociopath said:
The xmp is just the record of your raw edits, so you can just reset in the raw editor and it resets the xmp file.
Not sure which version of photoshop you're using but mine has an "as shot" option which takes it back to the start
Thanks. I have a lot to learn. Basic mistake of working on original files and not copying them at the start.

Fallingup

Original Poster:

1,627 posts

104 months

Saturday 15th October 2022
quotequote all
My laptop seemed desperate to copy files when I highlighted them. Ended up with thousands of copies. Sorted now. Found the search function useful for getting rid of them. I'm hopeless but enjoying it!

Digger

15,108 posts

197 months

Saturday 15th October 2022
quotequote all
Being hopeless is fun.

Even better that you are enjoying being hopeless.

It's how we learn smile