Tracker

Tracker github

사전 준비 작업

예시) 일기 작성 중, 마무리 to do list 체크

월별 습관 리뷰

github 내 task 에서 작성된 월별 리뷰 코드를 사용한다.

  • ```앞에 tracker라고 작성
  • searchType: task 중 완료된 자료를 가져올 것이므로 .done을 선택
  • searchTarget: 카운트 할 task의 이름
  • folder: 파일 경로
  • datasetName: 지정할 이름
  • month: 달력 형태로 만듦
searchType: task.done
searchTarget: Say I love you
folder: diary
datasetName: Love
month:
    color: tomato
    headerMonthColor: orange
    todayRingColor: orange
    selectedRingColor: steelblue
    showSelectedValue: false

Dataview

참고 사이트

기본 제공 필드

Field NameData TypeDescription
file.nameTextThe file name as seen in Obsidians sidebar.
file.folderTextThe path of the folder this file belongs to.
file.pathTextThe full file path, including the files name.
file.extTextThe extension of the file type; generally md.
file.linkLinkA link to the file.
file.sizeNumberThe size (in bytes) of the file.
file.ctimeDate with TimeThe date that the file was created.
file.cdayDateThe date that the file was created.
file.mtimeDate with TimeThe date that the file was last modified.
file.mdayDateThe date that the file was last modified.
file.tagsListA list of all unique tags in the note. Subtags are broken down by each level, so #Tag/1/A will be stored in the list as [#Tag, #Tag/1, #Tag/1/A].
file.etagsListA list of all explicit tags in the note; unlike file.tags, does not break subtags down, i.e. [#Tag/1/A]
file.inlinksListA list of all incoming links to this file, meaning all files that contain a link to this file.
file.outlinksListA list of all outgoing links from this file, meaning all links the file contains.
file.aliasesListA list of all aliases for the note as defined via the YAML frontmatter.
file.tasksListA list of all tasks (I.e., | [ ] some task) in this file.
file.listsListA list of all list elements in the file (including tasks); these elements are effectively tasks and can be rendered in task views.
file.frontmatterListContains the raw values of all frontmatter in form of key | value text values; mainly useful for checking raw frontmatter values or for dynamically listing frontmatter keys.
file.dayDateOnly available if the file has a date inside its file name (of form yyyy-mm-dd or yyyymmdd), or has a Date field/inline field.
file.starredBooleanIf this file has been bookmarked via the Obsidian Core Plugin “Bookmarks”

특징 및 단계

옵시디언을 데이터베이스로 만들어 이를 불러오는 방식이므로 SQL형식과 매우 유사함 기본 제공 필드의 내용뿐만 아니라 사용자가 정의한 Metadata도 불러올 수 있음

  • 1단계: 파일 형식
    • table, list 등 다양함
  • 2단계: 파일을 불러오는 장소
    • from "folder1/folder2"
  • 3단계: 정렬방식
    • sort file desc : file기준 내림차순
table file.size
from "02. Area/01. Diary"
sort file.size desc

Auto Note Mover

  • 지정 폴더에 태그, 파일명 등 규칙에 맞춰 자동으로 분류함