zaxebo1 / tagfilesystem

Automatically exported from code.google.com/p/tagfilesystem
0 stars 0 forks source link

[Feature requist] Support tag renaming #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When you have created tag and label many files with it, you may want to
simply rename the tag. However, the 'mv' command of TagFS does not yet
support this kind of renaming. Since some filemanagers(Nautilus for
example) create directories by first creating with default names and then
promote the user to rename it, it is quite a demanding feature.  

Original issue reported on code.google.com by zyangm...@gmail.com on 6 Apr 2010 at 12:58

GoogleCodeExporter commented 9 years ago
ideas on the implementation:

mkdir newtag
mv oldtag/* newtag
rmdir oldtag

Original comment by zyangm...@gmail.com on 6 Apr 2010 at 1:08

GoogleCodeExporter commented 9 years ago
Hi zyangmath,

It is great that you are interested in tagfilesytem and thanks for your comment.

I am not clear what the required feature is. But if you go through the code, 
you will
find that there is not 'mv' syscall in filesystem API. If a program wants to 
rename a
tag, the program should use 'rename' filesytem API instead.

Any comment is welcome.

Original comment by EndySun@gmail.com on 20 Apr 2010 at 7:08