Comments (3)
I think this would be a nice feature if you want to use tmsu within emacs helm: https://emacs.stackexchange.com/a/34836/2323
If I call such a helm source it should first display all files typing substrings of tags should narrow the list of candiates down dynamically. For example
pattern: foo bar
Should display all results including foo and bar, i.e. files tagged like Afoo and Xbar or fooX and barB.
If I then refine it to
pattern: fooX bar
It just matches files with tags (fooX and barB) or (fooX and Xbar) if you take the example from above.
I think a helm source working like this would be possible if tmsu would provide wildcards.
from tmsu.
Sorry to necro a five-year-old (!) issue, but there's another place wildcards would be extremely useful: searching for titles.
Example: Say you have a video file containing "The Eternal Sunshine of the Spotless Mind". So you tag it title="The Eternal Sunshine of the Spotless Mind"
. Much later, you want to find it; you don't remember the full name, though, so you want to search for title="*spotless*"
. Now, you could say that you should just rename the file to contain the title, and in this case that might be a viable solution, but it would still be helpful for other string metadata tags.
Anyways, just a thought. I absolutely adore this project, and am really grateful for the work you've put into it!
from tmsu.
Agree, this would be useful. I guess it would make sense to have a separate operator for this. I've seen tilde (~) used in other systems to do fuzzy 'contains' matches, such as Jira, so I think this would work:
tmsu files title ~ spotless
tmsu files title ~ "spotless mind"
Or perhaps ~= would be more readable:
tmsu files title ~= spotless
tmsu files title ~= "spotless mind"
from tmsu.
Related Issues (20)
- Pls consider making this tool available on conda HOT 1
- tmsu-fs-mv may overwrites files it cannot update internally HOT 4
- key-value tags will not work with rename HOT 5
- `tmsu tags --name=never` seems to imply `-1` HOT 1
- How can I delete values? HOT 4
- Need python example on how to import the tags for a file from a sqlite database into TMSU HOT 1
- Confusing status command behavior HOT 1
- ...
- Duplicated tags in file system HOT 1
- Repair files by automatically locating files based on checksum? HOT 2
- List all the tags with values HOT 11
- small contribution: sc-im interface for changing tmsu tags HOT 2
- Question: what does the error message mean? HOT 3
- --name=never removes lines HOT 2
- database locked occasionally
- VFS can be very slow
- Feature Request in VFS: Listing files outside of the `files` folder and hiding `queries` folder
- Cannot install TMSU HOT 1
- Package available in Void Linux
- too many SQL variables - transport endpoint is not connected when too many tag values exist
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmsu.