-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
retrieve data "from the archive" generated by filetags #48
Comments
Hi, I'm not sure if I understand your request. Can you describe the motivation (what do you want to achieve in your daily digital life?) and perhaps a "before invocation" and "after invocation" minimal example? It looks to me as if you want to replace existing links of a filter result with copies of the files instead of links. If I would like to have this, I'd probably use the
... this should get the expected result if I did understand your goal correctly. |
The motivation is similar to «export and hand me over all archived invoices of
2022 tagged both with `acquisition` .and. `housing`». In this perspective,
affirmative yes, instead of symlinks created in the first round, the intent is
to recover copies of the files stored in the archive, which would allow me to
send these copies of files e.g., as an attachement to my landlord.
For me, this result is close to filetags' todo (line 11) in __init.py__ reading
```
- tagfilter: --copy :: copy files instead of creating symlinks
```
|
From my perspective you have two options: This is probably also a reason why I didn't prioritize the Otherwise, this is potentially a duplicate of #10 |
Speaking for Linux Debian 12, running As a side note, replicating the snippet shared by you has the constraint that |
Caution: hardlinks are no copies. They are within-partition links to the very same file. In contrast to copies, each hardlink representation gets modified when you modify one instance of its links. I'm sorry to write that I can't follow your side note. I don't get what is not working as expected/shown above on your side. |
The current version's header reads like a retrieval of the original files (or copies of them) once was envisioned (
--copy
flag), but either was not yet implemented, or is a feature (sadly) retracted. However, it would be a feature very welcome to facilitate e.g., access and subsequent share copies of non-image data stored at different dates in the archive (by move2archive).Ad hoc , I identified the following approach working well enough. Perhaps parts of it can be used for the suggested feature extension:
~/.filetags_tagfilter$ python3 ./script.py
where
script.py
basically isThe observations refer to Linux Debian 12/bookworm with Python 3.10.7 and the
filetags
executable reporting2022-01-24
as last time of modification.The text was updated successfully, but these errors were encountered: