tag2find forum
February 07, 2012, 10:36:40 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Guest postings temporarily disabled! - Due to SPAM-bots. Sorry! - Please register  (http://forum.tag2find.com/index.php?action=register) to post!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Command-line interface  (Read 857 times)
albel727
User
*
Offline Offline

Posts: 1


View Profile
« on: March 03, 2010, 09:14:22 pm »

I could have suggested many interesting features, but seeing how hard it becomes for you guys to keep this project up and running, I won't.  Smiley Therefore, let me suggest only one feature, which, I think, is essential for program usefullness. It's a command-line interface.

First off, it would be really great to be able to access full program functionality from shell scripts. At least, if it's too early or too difficult to provide a fully fledged API (some guy asked for this feature back in 2007), a command line tool is a simple and obvious compromise. Secondly, this will really please all those latent unix-lovers, like me, who love to spend most of their time working with files from a console, but can't trade Windows for Linux for some reason. I mean, Explorer integration is good and all, but for a hardened shell vet it's not enough. Grin

I'm pretty sure, you can quite quickly and easily make a console application, say t2f.exe, which will work like that:

1) adding/removing tags from specified file, e.g
>t2f.exe /set super.doc +work -stupid +todo
>

2) listing tags for filename (outputs one tag per line), e.g
>t2f.exe /get super.doc
work
todo
>

3) listing all files with given tags (one filename per line)
>t2f.exe /find +work -todo
hyper.doc
super_done.doc
>

I guess, these 3 operations are most important to have implemented. But it would be nice to eventually get access to all functionality from command line, like importing/exporting database, etc.

I will really look forward to using tag2find, if such a feature will be implemented. As a matter of fact, it's so important for me, that otherwise I'll have to write my own small command-line file-tagging tool. Sure, it won't be as sophisticated, as your one, but simply using NTFS streams for keeping information will suffice for me (To drastically simplify development, I won't monitor NTFS Change Journal. I'll have a file tags/location cache, which will be manually updated by a drive/directory sweep, when necessary).

Anyway, keep up the good work... or give up and be losers. Just kidding.  Grin
Report to moderator   Logged
martin
Developer
tag2find developers
You like tagging?
***
Offline Offline

Posts: 344



View Profile
« Reply #1 on: March 05, 2010, 10:59:05 pm »

Hi,

these are good suggestions and should be able to be implemented very quickly once we can release the open-source version (and yes, we are still working on it, more in a legal than in a technical sense).

Best regards,
Martin
Report to moderator   Logged

tag2find development team
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!