neumannjmt / openmeta

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

can't remove indvidual tags #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. type openmeta
2. read examples

What is the expected output? A way to remove individual tags
What do you see instead? A way to remove all tags
What version of the product are you using? 0.1
On what operating system? MacOSX 10.5

Original issue reported on code.google.com by reub...@gmail.com on 3 Nov 2011 at 12:36

GoogleCodeExporter commented 9 years ago
It seems the best way to do it from Terminal right now is to copy the output of
    $ openmeta -t -p PATH
, paste it somewhere, delete the unwanted tag, copy the rest, and paste them 
into
    $ openmeta -s <paste> -p PATH

This is broken.

Original comment by fru...@gmail.com on 15 Apr 2013 at 6:04

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Or you could get fancy and do something like:
    $ f=PATH; untag="TAG"; tags=`openmeta -t -p "$f"`; tags=${tags%$f}; tags1=${tags% $untag *}; tags2=${tags#* $untag }; openmeta -s $tags1 $tags2 -p "$f"

This is just as broken.

Original comment by fru...@gmail.com on 15 Apr 2013 at 6:25