# Johnny Decimal... and automatic filing?

**URL:** <https://discourse.devontechnologies.com/t/johnny-decimal-and-automatic-filing/69573>\
**Category:** Automation\
**Created:** [February 14, 2022, 4:25pm UTC](https://discourse.devontechnologies.com/t/johnny-decimal-and-automatic-filing/69573 "2022-02-14T16:25:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![DTLow](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/dtlow/32/18161_2.png) [@DTLow](https://discourse.devontechnologies.com/u/DTLow)\
**Post date:** [February 14, 2022, 4:43pm UTC](https://discourse.devontechnologies.com/t/johnny-decimal-and-automatic-filing/69573/2 "2022-02-14T16:43:51Z")

</div>

> [@NationalInterest](#):
>
> Would it be possible to write a script that automatically files if the filename included the decimal? e.g., File “12.03 Secondary May 2022 payroll extract.xls” would get automatically filed to folder “12.03 Payroll 2022” based on “12.03”.

An Applescript should be able to handle this  
I use a script to assist in processing Inbox records; it moves the record out of the Inbox  
Sample at [Moving Inbox Notes to specific folders in my DB - #7 by DTLow](https://discourse.devontechnologies.com/t/moving-inbox-notes-to-specific-folders-in-my-db/64441/7)  
Start coding, and let us know if you run into problems

btw What happens if a record fits multiple categories?  
I prefer tags over a folder structure - for example, tag _12.03Finance/Payroll/2022_

In Devonthink, tags are also groups (folders)  
With tag 12.03Finance/Payroll/2022, we get group/folder 12.03Finance/Payroll/2022

For context, I reflect tags in my naming standard; something like  
_2022-02-14 Reference [Secondary May 2022 payroll extract] 12.03Finance/Payroll/2022_

Thanks for the Johnny Decimal link.  
It’s quite informative and I’m revising my organization structure

---

_[View the full topic](https://discourse.devontechnologies.com/t/johnny-decimal-and-automatic-filing/69573)._
