Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there any way how to mark folders or files with tags(or labels, new columns or whatever) in Nautilus? It would be nice to sort marked folders or files through this tags.

Especially my first idea was to mark folders in my Movie directory with tags seen, not seen, must see, and so on. Then I realized it would be useful in any other workspaces with any custom tags...

Is there any nautilus extension for this? Or any other file manager which can do this?

It might look like this:

nautilus custom column/tag

share|improve this question
2  
Duplicate of this? askubuntu.com/questions/83226/… –  fossfreedom Nov 18 '12 at 17:36
    
As I wrote I am familiar with emblems. It is not duplicate of this. –  madox2 Nov 18 '12 at 17:38
    
Then your question is not very clear - you start with "marking", "sorting" and "complicated to assign emblems". Please clarify what you are requesting - pictures would be very useful. –  fossfreedom Nov 18 '12 at 17:41
add comment

2 Answers

This can be achieved with extended attributes:

setfattr -n user.xdg.label -v "red" file.txt
share|improve this answer
add comment

I guess that I can understand what he is meaning by sorting by emblems... Each emblem should have a filename. Then, it should be possible to use that filename as a tag to be sorted/searched... Any file/folder should have an attribute or tag with the name of the emblem... Then, for example, listing all the files of a directory with a special (not yet implemented) ls with a '--tags' flag would give the following:

ls --tags ~/my_books

trwxrwxrwx  1 madox2 madox2   23 sep 18 10:42 fi -> /usr/sample/.icons/toRead.png
trwxrwxrwx  1 madox2 madox2   24 nov 18 10:42 foo -> /usr/sample/.icons/toRead.png

A kind of 'binding' of files with their visual emblem... So, then it would be possible to sort by those icons. And group all similar ones together. For example: all the 'toRead.png' should be grouped together. By this way, the visual emblem would also work as tag for sorting.

Finally, all files/folders without an emblem/tag would not be included in the resulting output.

And in this question, it would also sort (group) directories that have the same emblem binded to them.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.