You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a set up in which a custom Folder Context Menu runs a Batch File that execute organize with the selected folder as working directory; since the selected directory is a Project Folder that needs to be archived under a Parent "Client" Folder that may hold several projects, How do I get the parent of the working directory?
My simple Yaml:
rules:
name: "Archive Selected Project"
locations:
"."
filters:
lastmodified:
days: 90
mode: older
actions:
echo: "Path: {path}"
echo: "Parent: {path.parent}"
move:
dest: "D:/Works Archived/{path.name}"
Batch: @echo off
organize run "C:/Users/zald/AppData/Local/organize/organize/ArchivePRJ.yaml" --working-dir="%~1"
PS D:\Works> organize sim "C:/Users/zald/AppData/Local/organize/organize/ArchivePRJ.yaml" --working-dir="D:\Works\Client\Project Number Two"
Is it possible?
The text was updated successfully, but these errors were encountered:
I have a set up in which a custom Folder Context Menu runs a Batch File that execute organize with the selected folder as working directory; since the selected directory is a Project Folder that needs to be archived under a Parent "Client" Folder that may hold several projects, How do I get the parent of the working directory?
My simple Yaml:
rules:
locations:
filters:
days: 90
mode: older
actions:
dest: "D:/Works Archived/{path.name}"
Batch:
@echo off
organize run "C:/Users/zald/AppData/Local/organize/organize/ArchivePRJ.yaml" --working-dir="%~1"
PS D:\Works> organize sim "C:/Users/zald/AppData/Local/organize/organize/ArchivePRJ.yaml" --working-dir="D:\Works\Client\Project Number Two"
Is it possible?
The text was updated successfully, but these errors were encountered: