From 1bb00c4e2e4cce7af4d3afcd33f26ad5cbc3f632 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Thu, 15 Aug 2024 23:02:17 +0200 Subject: [PATCH] Update readme --- README.md | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index cd3e083..4ef344f 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,20 @@ This means that it can run on files that already have iterative names because no Works pretty much the same way as *iter* with the exception of *-f* which is not supported by *fmoditer* +Example: +Given +``` +video1.mp4 +video2.mp4 +video3.mp4 +``` +Running `fmoditer *.mp4` would result in +``` +2024-12-15T15-31-53.mp4 +2022-03-06T12-55-00.mp4 +2023-05-22T17-11-06.mp4 +``` + ## [vsclean](https://git.site.quack-lab.dev/dave/vsclean) **"clean" vscode recent projects by deleting non existing entries and adding new folders** @@ -97,7 +111,7 @@ GITA_URL=https://git.site.quack-lab.dev/ Fine grained configuration is applied through flags: ``` Usage of repo.exe: - -f Force assignment of the remote (deletes existing origin) + -f Force assignment of the remote (deletes existing origin) -n string Name of the repository (shorthand) -name string @@ -106,7 +120,7 @@ Usage of repo.exe: Do not add remote to the new repo (shorthand) -noinit Do not add remote to the new repo - -p Make the repository private (shorthand) + -p Make the repository private (shorthand) -private Make the repository private -r string @@ -125,27 +139,27 @@ See sample *autoruns.json* in repository of the tool Supported json fields are: ```go Entry struct { - Name string `json:"name"` + Name string `json:"name"` // ^ only used for logging - Path string `json:"path"` + Path string `json:"path"` // ^ path to the program being run - Disabled bool `json:"disabled"` + Disabled bool `json:"disabled"` // ^ all entries are enabled by default other than the ones with "disabled": "true" - Procname string `json:"procname"` + Procname string `json:"procname"` // ^ used for detection to determine whether or not the entry has to be run - Procs []string `json:"procs"` + Procs []string `json:"procs"` // ^ (optional) used for scanning for additional processes before executing actions, some programs start multiple processes as children of the main process and some start multiple processes independently - ProcsAction string `json:"procsaction"` + ProcsAction string `json:"procsaction"` // ^ (optional) specifies the action to apply specifically and only to procs - Flags []string `json:"flags"` + Flags []string `json:"flags"` // ^ (optional) command line arguments to pass to executable when starting - Workdir string `json:"workdir"` + Workdir string `json:"workdir"` // ^ (optional) workdir in which to start the program - Action string `json:"action"` + Action string `json:"action"` // ^ (optional) what to do with the program on startup (supported are hide/close/click) ActionParams []string `json:"actionparams"` // ^ (optional) parameters for actions, currently used only for click, see example in autoruns.json - ActionDelay int `json:"actiondelay"` + ActionDelay int `json:"actiondelay"` // ^ (optional) amount of time (in milliseconds) to wait before running action on program startup } ``` \ No newline at end of file