Hi everyone
I have a small problem i cant find a soloution to...
I'm using digital unix and have to find out all the files which have a certain string inside them and i dont know how to do it.
*This search is done as root.
*All files from '/' to the last directory should be searched for... (3 Replies)
Hi All,
I have an XML-:
<ProcId>CES_P5010_AddVLan</ProcId>
<DataVersion>yxcxycyxcycyxc</DataVersion>
<JobId>OR3000055-002-1</JobId>
</CesHeader>
<VLanServiceList>
<NopId>blu</NopId>
</VLanServiceList>
<StatusNPA>2</StatusNPA>
... (5 Replies)
Hi All!
I have obtained following output from a tool "pdftohtml" ::
So, my input is as under:
<text top="246" left="160" width="84" height="16" font="3">Business purpose</text>
<text top="260" left="506" width="220" height="16" font="3">giving the right information and new insights... (3 Replies)
Hi,
I have a very large file that contains a listing of all files on the system. I need to create a listing from that file of all files that start with the following format: s???_*, whereas the '?' represents characters, so the file name begins with an 's' followed by three other characters and... (4 Replies)
Does anybody know how i can remove string from <a> tag?
There are several hundred posts in a few forums that need to be cleaned up.
The precise situation is
----------
<a href="http://mydomain.com/cgi-bin/anyboard.cgi?fvp=/family/sexuality_and_spirituality/&cmd=rA&cG=43">
-------------
my... (6 Replies)
I have a string, eg 7f30.3 and I want to store things in the following way
npos = 7
decform = true
width = 30
ndp = 3
I need to read each character one by one. I am coding in fortran but I can try to code it should answer be given in C in the above way. (2 Replies)
Hi
I am new to string extractions in shell script... I am trying to extract a string such as #1753 from html tag looks like below.
<a class="model-link tl-tr" href="lastSuccessfulBuild/">Last successful build (#1753), 40 min ago</a>
and want the value as
1753
Could someone help me to... (3 Replies)
How can i find texts inside a html tag using sed?
Html texts:
What i tried:
cat infile | sed -e 's/\(<kbd*\)\(.*\)\(kbd>\)/\2/
Expected result like this:
sed -i -e 's/@colophon/@@colophon/' \ -e 's/doc@cygnus.com/doc@@cygnus.com/' bfd/doc/bfd.texinfo (5 Replies)
In the below awk I am trying to print expName only if another tag planExecuted is true. In addition to the expName I am also printing planShortID. For some reason the word experiment gets printed so I remove it with sed. I have attached the complete index.html as well as included a sample of it... (1 Reply)
Discussion started by: cmccabe
1 Replies
LEARN ABOUT DEBIAN
pytags
PYTAGS(1) [FIXME: manual] PYTAGS(1)NAME
pytags - set and remove tags on media files from filename and options
SYNOPSIS
pytags [OPTIONS] file [file...]
DESCRIPTION
pytags is a simple, general-purpose tool for setting and removing media file tags. With no options, pytags prints a tag summary for all
files specified on the command line. Options can be used to set and remove tags on files.
Using --format, it is easy to change or create tags on by parsing metadata from filenames according to an arbitrary format string. This
makes it simple to tag files that are consistently named.
Additionally, tags can be manipulated directly with the --add, --set, and --remove options. These options are processed in order, so
options specified later on the command-line may cause values set by earlier options to be overwritten. These options must appear after the
--format, if it is used.
OPTIONS --add=EXPR
Append a tag value all files according to EXPR. EXPR should be an expression like "artist=Foo". May be specified multiple times to add
multiple values.
--format=FORMAT
Tag files with metadata extrapolated from filenames using format string FORMAT; see the section called "FORMAT STRINGS". This option
must be specified before --add, --set, or --remove.
--set=EXPR
Set a single tag on all files according to EXPR. EXPR should be an expression like "artist=Foo". May be specified multiple times to set
multiple tags. --set cannot be used to specify multiple values for a single tag. To do that, use --remove followed by multiple --add
options.
--remove=TAG
Remove tags named TAG. May be specified more than once to remove multiple tags.
-h, --help
Show summary of options and exit.
-v, --version
Show version of program and exit.
FORMAT STRINGS
The format string expected by --format is the same as that for pytagsfs. See the pytagsfs manual page for more information.
EXAMPLES
Remove the genre tag from all .ogg files in the current directory.
$ pytags --remove genre *.ogg
Set the artist and album tag on all .mp3 files, and remove the genre tag.
$ pytags --set artist=Foo --set album=Bar --remove genre *.mp3
Tag all of the .flac files in the current directory. All such files are assumed to be in the format "tracknum artist - trackname
[album].flac".
$ pytags --format '%n %a - %t [%l].flac' *.flac
BUGS
Please report bugs on launchpad at http://launchpad.net/products/pytagsfs/+bugs.
pytags relies on mutagen (the underlying Python tags library) to choose an appropriate tag format for the files being tagged. This cannot
currently be overridden.
SEE ALSO pytagsfs(1)AUTHOR
Forest Bond
Author.
COPYRIGHT
Copyright (C) 2007, 2008, 2009
[FIXME: source] 2009-12-04 PYTAGS(1)