[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting a lot of tags in a productive way?

From: Spiro Trikaliotis
Subject: Re: Deleting a lot of tags in a productive way?
Date: Wed, 21 Mar 2007 10:29:35 +0100
User-agent: Mutt/1.5.9i

Hello Hans,

* On Wed, Mar 21, 2007 at 02:02:10AM -0700 Hans Schwaebli wrote:

> We have lots of tags on our files and would like to delete most of
> these tags.

The first questions which pops up in my head: Why do you want to delete
them? Tags are very cheap.

> Is it possible to delete all tags which have been set prior to a
> certain date or which are older than X days?

Tags do not have a date. Thus, in order to do what you want, you would
have to use something like to find out when a tag has been
created approximately, and use that information to in an automated way
(shell script) to delete the tags.

IMHO, it is not worth the time.

> If not, what is the most productive way to delete many tags?

If you have the tag names (tag1 ... tag5), use

  cvs tag -D tag1 tag2 tag3 tag4 tag5 

If you have very much tags, exceeding the command line length, you might
want to have a look at the xargs Unix command (available on Windows via
Cygwin, too).


Spiro R. Trikaliotis                               

reply via email to

[Prev in Thread] Current Thread [Next in Thread]