🗂️
File name convention example
#new
#new
Filename rules
Base folder/.fns/index.yaml FNS_yaml
Loading editor...
#FNS YAML spec is used. # is a comment. --- TITLE: File name convention example # Title of the document. Required field FNS_VERSION: 1.0 # Version of FNS yaml. Required field date: 2020-01-01 # The rest of the fields can be freely added to describe this file. Key names must be in lowercase. --- # Using YAML format. # indicates comments. # Expressed using "-" and ":" as follows. # - Folder Name Rule: # Description # - File Name Rule # Description # The difference between files and folders is the ":" that follows. A space after "-" and ":" is required for recognition. # Rules can be assigned using <pattern name>. # It's better to have a separator like "-" between <pattern> and <pattern>. # Capital pattern names are reserved for future use, so additional patterns should be created in lowercase. # Below is an example: - Reports: - <YYYY>: # Year 2020 2021 2022 ... - <MM>: # Month 01 02 03 ... - <YYYYMMDD>-<TITLE>.xlsx # ex) 20200101-Marketing Report.xlsx - <INDEX01>-<routine_work>: # ex) 02-Customer Management 03-Monitoring ... - projects: - <project>: # Project Name - <task>: - <TITLE>-<task>-<project>-<YYYYMMDD>-v<ver>.<EXT> # ex) Moon Landing Project Proposal-Planning-Moon Landing-20200101-v1.0.ppt --- # The second area separated by -- lists examples of patterns that can be used. task: ["Research", "Planning", "Development", "Release", "Marketing"] project: ["MoonLanding", "MoonShot", "MoonWalking"] EXT: ["pdf", "xlsx", "ppt"] --- # In the third area separated by ---, patterns that can be recognized by computers are described using regular expressions. YYYYMMDD: '(?:19|20)\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])' # Date (Year-Month-Day) YYYY: '(?:19|20)\d{2}' # Year 2019 2020 2021 ... MM: "0[1-9]|1[0-2]" # Month 01 02 .. 12 INDEX01: "0[1-9]|[1-9][0-9]" # Number 01 02 03 ... INDEX001: "0[0-9]{2}|[1-9][0-9]{2}" # Number 001 002 003 ... ver: '(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?' # Version 1.0.0 Reference: https://github.com/nils-tekampe/semverdoc/blob/master/semverdoc.md EXT: "[a-zA-Z0-9]{1,5}" # File extension pdf xlsx ppt ...
Preview
You can start using it on your PC right now.
Create a '.fns' folder in the directory where you want to apply FNS, and save the downloaded file as 'index.yaml'.