Is there any program that can tag folders? I have different files within a folder and there are to many folders, if I could tag each folder (contrary to tag each file) then it would be very easy for me to categorise these folders. Does anyone knows if such thing can be done? Thank you.
You may add a file like
into every folder. There you could store information as text. You could later browse them for your information.
Maybe you're better suited with a tool like find.
Feel free to ask about it's usage.
It is a great question, and I was looking for something like that too, but I'm pretty sure there is nothing like that already built into Nautilus,
but if you can turn your hand to some scripting, you could relatively easily adapt Nautilus
It would be a simple matter of searching the Notes for your specific Tag(s), and then create tempory links (or permanent) to each directory with a matching Tag in the 'Notes`... then put these links into a 'search results' directory... which you would then present in a Nautilus window!...
If I had the spare time, I'd do it myself, but instead, here is a script I wrote to access and write and delete Nautilus Notes.. It doesn't do what I described above, but it does show how to access the Notes data cache. The script is intended for use by
The script is at pastbin.ubuntu.com
UPDATE: I've now written a working script which uses links as described above.. However, I've now swapped the "nautilus Notes" idea and grafted in user unknown's .tag files instead.. (so, if you like the script, remember that the .tag idea is 'user unknown's)..
I've attempted to explain the script's usage in the comments, but I should point out that it's not fully tested, so it may misbehave on some minor points..
Here is the script
UPDATE2: (fixed a bug.. It was only processing the first 100 located .tag file)
The answer hasn't been accepted yet, but the examples I posted should give you an idea of how to work with this program. Tag additions work just fine on directories too, and I've tested it as well.
Note that you'll need to start trackerd manually in order for the tracker-tag/* utils to work:
You can configure tracker with:
I still don't have the tracker applet running (listed in
I read one of your responses from an earlier post, and it looks like you're trying to add/search for tags in Nautilus, although you didn't list that as a primary criteria in your question. That's what the other person was doing, so perhaps this answer will be useless for you. That said, jumping to CLI occasionally isn't so bad if you get stuff done that you wouldn't normally be able to do in a GUI.