Sponsored Content
Top Forums Shell Programming and Scripting How to extract data from a huge file? Post 302159600 by srsahu75 on Friday 18th of January 2008 04:06:51 AM
Old 01-18-2008
Yes, I need to extract information between the main tags ( inclusive of the tags ).
starting from
<dublin_core schema="dc">
to
</dublin_core>

Save the extract as dublin_core.xml in the respective folders item_* which are created from the string (item_*) before <dublin_core schema="dc">

And save another file 'contents' in each folder with the content as license.tx(tab)tbundle:LICENSE
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

search and grab data from a huge file

folks, In my working directory, there a multiple large files which only contain one line in the file. The line is too long to use "grep", so any help? For example, if I want to find if these files contain a string like "93849", what command I should use? Also, there is oder_id number... (1 Reply)
Discussion started by: ting123
1 Replies

2. Shell Programming and Scripting

How to extract a piece of information from a huge file

Hello All, I need some assistance to extract a piece of information from a huge file. The file is like this one : database information ccccccccccccccccc ccccccccccccccccc ccccccccccccccccc ccccccccccccccccc os information cccccccccccccccccc cccccccccccccccccc... (2 Replies)
Discussion started by: Marcor
2 Replies

3. Shell Programming and Scripting

insert a header in a huge data file without using an intermediate file

I have a file with data extracted, and need to insert a header with a constant string, say: H|PayerDataExtract if i use sed, i have to redirect the output to a seperate file like sed ' sed commands' ExtractDataFile.dat > ExtractDataFileWithHeader.dat the same is true for awk and... (10 Replies)
Discussion started by: deepaktanna
10 Replies

4. Shell Programming and Scripting

How to extract a subset from a huge dataset

Hi, All I have a huge file which has 450G. Its tab-delimited format is as below x1 A 50020 1 x1 B 50021 8 x1 C 50022 9 x1 A 50023 10 x2 D 50024 5 x2 C 50025 7 x2 F 50026 8 x2 N 50027 1 : : Now, I want to extract a subset from this file. In this subset, column 1 is x10, column 2 is... (3 Replies)
Discussion started by: cliffyiu
3 Replies

5. Shell Programming and Scripting

Three Difference File Huge Data Comparison Problem.

I got three different file: Part of File 1 ARTPHDFGAA . . Part of File 2 ARTGHHYESA . . Part of File 3 ARTPOLYWEA . . (4 Replies)
Discussion started by: patrick87
4 Replies

6. Shell Programming and Scripting

Help- counting delimiter in a huge file and split data into 2 files

I’m new to Linux script and not sure how to filter out bad records from huge flat files (over 1.3GB each). The delimiter is a semi colon “;” Here is the sample of 5 lines in the file: Name1;phone1;address1;city1;state1;zipcode1 Name2;phone2;address2;city2;state2;zipcode2;comment... (7 Replies)
Discussion started by: lv99
7 Replies

7. Shell Programming and Scripting

Extract header data from one file and combine it with data from another file

Hi, Great minds, I have some files, in fact header files, of CTD profiler, I tried a lot C programming, could not get output as I was expected, because my programming skills are very poor, finally, joined unix forum with the hope that, I may get what I want, from you people, Here I have attached... (17 Replies)
Discussion started by: nex_asp
17 Replies

8. Shell Programming and Scripting

Extract few content from a huge list of files

I have a huge list of files (about 300,000) which have a pattern like this. .I 1 .U 87049087 .S Am J Emerg .M Allied Health Personnel/*; Electric Countershock/*; .T Refibrillation managed by EMT-Ds: .P ARTICLE. .W Some patients converted from ventricular fibrillation to organized... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies

9. UNIX for Advanced & Expert Users

Need Optimization shell/awk script to aggreagte (sum) for all the columns of Huge data file

Optimization shell/awk script to aggregate (sum) for all the columns of Huge data file File delimiter "|" Need to have Sum of all columns, with column number : aggregation (summation) for each column File not having the header Like below - Column 1 "Total Column 2 : "Total ... ...... (2 Replies)
Discussion started by: kartikirans
2 Replies

10. UNIX for Advanced & Expert Users

File comaprsons for the Huge data files ( around 60G) - Need optimized and teh best way to do this

I have 2 large file (.dat) around 70 g, 12 columns but the data not sorted in both the files.. need your inputs in giving the best optimized method/command to achieve this and redirect the not macthing lines to the thrid file ( diff.dat) File 1 - 15 columns File 2 - 15 columns Data is... (9 Replies)
Discussion started by: kartikirans
9 Replies
gmusicbrowser(1)														  gmusicbrowser(1)

NAME
gmusicbrowser - Jukebox for large collections of music files SYNOPSIS
gmusicbrowser [-nocheck] [-noscan] [-demo] [-ro] [-rotags] [-play] [-nodbus] [-gst|-nogst] [-server] [-port N] [-cfg FILE] [-fifo FIFO|-nofifo] [-debug] [-layout NAME] [-plugin NAME] [-searchpath FOLDER] [-use-gnome-session] [-workspace N] [-cmd CMD] [-ifnotrunning MODE] [-dbus-id KEY] FOLDER_OR_FILE ... gmusicbrowser -listcmd gmusicbrowser -tagedit FOLDER_OR_FILE ... DESCRIPTION
This manual page explains the gmusicbrowser program. gmusicbrowser can play and manage your songs, currently supports mp3, ogg, flac, mpc file formats. see http://gmusicbrowser.source- forge.net/ for more information. OPTIONS
-c, -nocheck don't check for updated/deleted songs on startup -s, -noscan don't scan folders for songs on startup -demo don't save settings/tags on exit -ro prevent modifying/renaming/deleting song files -rotags prevent modifying tags of music files -play start playing on startup -gst use gstreamer -nogst do not use gstreamer -nodbus do not use DBus -server send playing song to connected icecast client -port N listen for connection on port N in icecast server mode -C FILE, -cfg FILE use FILE as configuration file (instead of 'gmbrc' in default folder), if FILE is a folder (or ends with '/'), it will be used as base folder instead of ~/.config/gmusicbrowser/ -F FIFO, -fifo FIFO use FIFO as named pipe to receive commans (instead of 'gmusicbrowser.fifo' in default folder) -nofifo do not use/create named pipe -dbus-id KEY append .KEY to the DBus service id used by gmusicbrowser (org.gmusicbrowser) -debug print lots of useless information -backtrace print a backtrace for every warning -l NAME, -layout NAME use layout NAME for player window -plugin NAME deactivate plugin identified by NAME +plugin NAME activate plugin identified by NAME -noplugins deactivate all plugins -searchpath FOLDER add FOLDER to the list of folders searched for plugins and layouts -use-gnome-session Use gnome libraries to save tags/settings on session logout (needs the Gnome2 perl module). -workspace N Move initial window to workspace N (needs the Gnome2::Wnck perl module). -cmd CMD add CMD to the list of commands to execute. If a running instance of gmusicbrowser is found, these commands will be sent via the fifo file or via DBus. If there is no running instance of gmusicbrowser, the behavior depends on option -ifnotrunning -ifnotrunning MODE change behavior when no running gmusicbrowser instance is found, MODE can be one of : normal (default) launch a new instance and execute commands nocmd launch a new instance but discard commands abort do nothing Running instances of gmusicbrowser are detected via the fifo or via DBus. To run more than one instance, use a unique fifo and a unique DBus-id, or deactivate them. -listcmd list the available commands and exit -listlayout list the available layouts and exit -listplugin list the available plugins and exit -tagedit FOLDER_OR_FILE ... Load songs in FOLDER_OR_FILE and display a dialog to edit their tags. FILES
~/.gmusicbrowser/tags contains songs tags and program options /usr/share/gmusicbrowser/plugins/, ~/.gmusicbrowser/plugins/ files with extension .pm in these folders are loaded as plugins on startup /usr/share/gmusicbrowser/layouts/*.layout, ~/.gmusicbrowser/layouts/*.layout contains layouts definitions ~/.gmusicbrowser/gmusicbrowser.fifo can be used to send commands to a running gmusicbrowser, eg : echo CMD >~/.gmusicbrowser/gmusicbrowser.fifo where CMD is (run "gmu- sicbrowser -listcmd" for an up-to-date list of commands) : NextSong Skip current song PrevSong choose previously played song PlayPause toggle Play/Pause mode Stop stop playing Rewind SEC rewind SEC seconds Forward SEC forward SEC seconds Browser open browser window ShowHide hide/show gmusicbrowser windows Quit quit gmusicbrowser Save immediately save settings/song tags in ~/.gmusicbrowser/tags ChangeDisplay DISPLAY migrate the program to display DISPLAY (example : ":1") SEE ALSO
http://gmusicbrowser.org/, AUTHOR
Copyright (c) 2005-2011 Quentin Sculo <squentin@free.fr> gmusicbrowser Oct 08, 2011 gmusicbrowser(1)
All times are GMT -4. The time now is 01:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy