Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Specify date range with two created filters. What is the best method? #431

Unanswered
89sundown asked this question in Q&A
Discussion options

I'm a bit confused on how to create a date range with the created filter. Is this possible with the below?

I'm doing this in windows.

 - name: Move dirs from Downloads that are between 3 and 4 years old 2021 2022
 enabled: True
 targets: files
 locations:
 - path: C:\Users\user1\Downloads
 max_depth: 1
 filter_mode: "all" # Both filters must match
 filters:
 - created: # 01/01/2022
 years: 3
 months: 1
 days: 13
 mode: older
 - created: # 01/01/2021
 years: 4
 months: 1
 days: 13
 mode: newer
 actions:
 - move: C:\Users\user1\Downloads2021円-2022
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /