feat: add scan --replace to take over tags removed in other apps
This commit is contained in:
parent
8a19f5f0af
commit
af89f9ed9b
5 changed files with 35 additions and 11 deletions
|
|
@ -100,7 +100,7 @@ $ otag purge old-project/
|
|||
|
||||
### Embedded Metadata
|
||||
|
||||
`scan` (`s`) reads tags that are embedded in files and adds them to their entries, in the given folder (default: current) and its subdirectories.
|
||||
`scan` (`s`) reads tags that are embedded in files and adds them to their entries, in the given folder (default: current) and its subdirectories. `--replace` makes the found tags replace the entry instead, so tags removed in another app also disappear from otag; files without embedded tags keep their entry.
|
||||
|
||||
`write` (`w`) writes the entry of a file into the file itself, using the named plugin. It replaces what the plugin stored before, so tags removed with `otag remove` disappear from the file on the next `write`. `-c` (`--clear`) removes the plugin's tags from the file instead, e.g. after all tags were removed; it is never done implicitly, because a file without entry may also be one otag never tagged.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue