Resolved: make a rule to sort files by financial year

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

When I scan documents I name them based on the date received, eg. 2014-12-13....

I'd like to make an action to sort these files into a subfolder based on the financial year they apply to, which in Australia is July 1 - June 30, the rule should ideally create the year folder automatically when required.

My psuedo code based thinking for it:

Code: Select all
if (filename month less than 06) {
  move to folder named based on filename year
}
if (filename month greater than 07) {
  move to folder named based on filename year +1
}


Can anyone suggest how I might go about it please?
Last edited by BrianGilbert on Sun Feb 01, 2015 7:28 pm, edited 1 time in total.
BrianGilbert
 
Posts: 3
Joined: Sun Feb 01, 2015 5:39 pm

Half way thereImage

for the other half.. Is there a way to increment the year value by 1 in the subfolder creation step?
BrianGilbert
 
Posts: 3
Joined: Sun Feb 01, 2015 5:39 pm

Indeed there is!

Image
BrianGilbert
 
Posts: 3
Joined: Sun Feb 01, 2015 5:39 pm

Images aren't coming through for me here but glad you got it working.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support