8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Lets say for instance I have this data within a file named transform
xxx#yyy@zzz and I want it to be in the format ofZZZ xxx-yyy
How do I go about doing this? (3 Replies)
Discussion started by: l3monz
3 Replies
2. Programming
Dear All
I have a huge data for 3 columns similar to this
D2cls0 D2cls0 1
D2cls0 D2cls1 0.308
D2cls0 D2cls2 0.554
D2cls0 D2cls3 0.287
D2cls0 D2cls4 0.633
D2cls0 D2cls5 0.341
D2cls0 D2cls6 0.665
D2cls0 D2cls7 0.698
D2cls0 D2cls8 0.625
D2cls0 D2cls9 0.429
I... (9 Replies)
Discussion started by: bala06
9 Replies
3. Programming
Dear All
I would like to transform data from one format to another format.
my Input:
0 0 1
0 1 0.308
0 2 0.554
0 3 0.287
output:
Z (0,0)= 1
Z (0,1)=0.308
Z (0,2)=0.554
Z (0,3)=0.287 (2 Replies)
Discussion started by: bala06
2 Replies
4. UNIX for Advanced & Expert Users
Hi all. I would like to create a program that converts psmf file format (PSMF - MultimediaWiki) to ogv (Ogg - Wikipedia, the free encyclopedia).
I know C++ and I worked with BMPs (so I can understand a simple file system like the BMP header is) but I didn't touch any kind of sound/video file... (1 Reply)
Discussion started by: lilezek
1 Replies
5. Shell Programming and Scripting
Hi all
In input file I have records like this:
0,1,0,87,0,0,"6,87","170,03",0,"43,5",0,0,0,0,"6,87","126,53" and in output file I need that these records transforms in :
0 1 0 87 0 0 6,87 170,03 0 43,5 0 0 0 0 6,87 126,53 Could you help me in this case? Please (13 Replies)
Discussion started by: shizik
13 Replies
6. UNIX for Dummies Questions & Answers
I need to transform this small javascript into a perl. So then when I need to use it I can call $something, instead of using this javascript.
Could someone help me archive this? (9 Replies)
Discussion started by: marringi
9 Replies
7. Solaris
I am getting the following message
"Failed to establish all listening sockets"
also /tmp/.X11-pipe gets to about 50 entries and then I can't start any
more Citrix sessions until I manually remove those entries.
Any ideas? (3 Replies)
Discussion started by: pgsanders
3 Replies
8. Shell Programming and Scripting
How will i convert a file
<LREC><L:EPOCH>1198331268.553</L:EPOCH><LDATE>10-12-07</LDATE><L:SERVER>NONE</L:SERVER><L:PORT>NONE</L:PORT><LTIME>13:47:48.553</LTIME><LTEXT>dnvdmxk</LTEXT></LREC>... (3 Replies)
Discussion started by: anju
3 Replies
podget.man(7) Linux Reference Manual podget.man(7)
NAME
Podget
SYNOPSIS
podget <options> [command]
podget -h | --help
DESCRIPTION
OPTIONS
-c, --config <FILE>
Name of configuration file.
-C, --cleanup
Skip downloading and only run cleanup loop.
--cleanup_days <NUMBER>
Cleanup files older than <NUMBER> days.
--cleanup_simulate
Simulate cleanup loop to see what files would be deleted.
-d, --dir_config <DIRECTORY>
Directory that configuration files are stored in.
-f, --force
Force download of items from each feed even if they've already been downloaded.
--import_opml <FILE or URL>
Import servers from OPML file or HTTP/FTP URL.
--import_pcast <FILE or URL>
Import server from iTunes PCAST file or HTTP/FTP URL.
-l, --library <DIRECTORY>
Directory to store downloaded files in.
-p, --playlist-asx
In addition to M3U playlists, create ASX playlists.
-r, --recent <COUNT>
Download only the <COUNT> newest items from each feed.
--serverlist <FILE>
Use <FILE> as serverlist instead of default.
-s, --silent
Run silently (for cron jobs).
-v Set verbosity to level 1.
--verbosity <LEVEL>
Set verbosity level (0-3).
-h, --help
Display help.
EXAMPLE CRON JOB
Once podget is running acceptably, its most useful if you run it from a cron job so that the new songs are available to play or load onto a
portable player and you dont have to wait for them to download.
To edit your crontab, do:
$ crontab -e
Then insert one line (i for insert mode), like the following:
15 04 * * * /usr/bin/podget -s
This will run podget at 4:15 AM every day.
AUTOMATIC CLEANUP
You can enabled automatic cleanup with every run by configuring it in your $HOME/.podget/podgetrc file. Simply set the following options:
# Autocleanup.
# 0 == disabled
# 1 == delete any old content
cleanup=1
# Number of days to keep files. Cleanup will remove anything
# older than this.
cleanup_days=7
However, some people prefer to run cleanup as a seperate cron session. To do that, set the options in .podgetrc to:
# Autocleanup.
# 0 == disabled
# 1 == delete any old content
cleanup=0
# Number of days to keep files. Cleanup will remove anything
# older than this.
cleanup_days=7
And add a cron job to run cleanup, like one of these examples:
# Once a week on Sunday at 04:15AM
15 04 * * Sun /usr/bin/podget -C
SESSION CONTROL
Podget checks for already running sessions when it starts and exits if any are found.
Each session requires its own core configuration file, so for multiple sessions simply provide a unique -c <configfile> option for
each.
EXAMPLE SERVER LIST
By default, Podget uses $HOME/.podget/serverlist for the default list of servers
to contact.
However you can configure the name with the config_serverlist variable in your $HOME/.podget/podgetrc file.
The default format is: <url> <category> <name>
Note: Category must be one word.
Example:
# Default Server List for podget
# FORMAT: <url> <category> <name>
# NOTE: Category must be one word
http://www.distortedview.com/show/index.xml Humor Distorted View
http://www.podcastingnews.com/forum/links.php?func=show&id=214 IT In the Trenches
http://www.lugradio.org/episodes.rss Linux LUG Radio
http://thelinuxlink.net/tllts/tllts.rss Linux The Linux Link
http://www.bbc.co.uk/radio4/history/inourtime/mp3/podcast.xml Philosophy BBC: In Our Time
http://www.privacyfreaks.org/podcast.php privacy Privacy Freaks
http://www.rsasecurity.com/blog/rssfeed.asp security Speaking of Security
http://dl.chickencat.com/podcast.php privacy Digital Liberties
http://feeds.feedburner.com/LiveAmmo security LiveAmmo
HANDLING UTF-16 FEEDS
Some servers provide their feeds in UTF-16 format rather than the more common UTF-8.
To automatically convert these files, create a secondary serverlist at:
$HOME/.podget/serverlist.utf16
Remember to change the name of the serverlist to match what you set it to with config_serverlist if you changed it.
AUTHORS
Dave Vehrs
DOC
January 06, 2007 podget.man(7)