Quantcast
Channel: voidtools forum
Viewing all articles
Browse latest Browse all 1719

General • Re: Delete files outside timerange over multiple dates.

$
0
0
This requires lots of efforts in Everything 1.4 (not impossible though), but is pretty straightforward in Everything 1.5.
All below is based on version 1.5:


Another option would be using dm-time:

Code:

!dm-time:08:00..17:00!dm-time:8:00am..5:00pm
(! = NOT, so it will show all screenshots made outside of office hours

Also, don't forget about the weekend:

Code:

dm-week-day:saturday;sunday
Will show all screenshots made in the weekend.


P.S. Instead of deleting all these screenshots right away, I recommend moving them outside the folder structure first, to a new folder on the same disk.
If all went as desired, then you can delete that new folder. That way you can revert your actions if needed.


Assuming your screenshots are in folder "X:\path to\screenshots" and your screenshots are in the .png format:
- Create a new folder "X:\Out of Office" (name doesn't really matter)
- Search for
ext:png "X:\path to\screenshots\" dm-week-day:saturday;sunday

- Select all .png files ('CTRL + A')
- Menu => Edit => Advanced => Advanced Move to Folder
- Old format =
X:\path to\screenshots\%1

- New format =
X:\Out of Office\%1

- Check the preview of the results
- If all OK, press the OK buttons

(repeat these steps for the non-office hours query)

Statistics: Posted by NotNull — Mon Jan 27, 2025 2:05 pm



Viewing all articles
Browse latest Browse all 1719

Trending Articles