9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm looking for a way to solve the following scenario:
A shell should automatically trigger / run when a text file is placed or present at a specific location.
My idea - to create a cron / anacron for every minute and inside that i will call a temp script. Temp script will move to my... (9 Replies)
Discussion started by: Gautham
2. Shell Programming and Scripting
i'm using OS X.
i have a bunch of mp3 files strewn across a directory tree that i'd like to rename.
specifically i'd like to remove any track numbers and leading non-alphabetic characters from the filenames like this:
01 - song1.mp3
song1.mp3... (6 Replies)
Discussion started by: creakyshrimp
3. UNIX for Dummies Questions & Answers
I am having trouble calculating some numbers and I was hoping someone could help me solve this.
I have one file with 1 column and what I'm trying to do is add up the lines until a certain value is reach, then jump to where it last finished counting and continue.
so for ex: if I... (27 Replies)
Discussion started by: verse123
We are using SCO OS 5.05 server and we are doing a manual ftp to another SCO OS 5.05 server to backup our database.
We are using the Bourne shell.
We would like to automate the ftp backup of our database instead of doing it manually.
It would be nice to run a script.
Also would there be anyway... (4 Replies)
Discussion started by: texastig
5. Shell Programming and Scripting
I want to make a script to use wget to find and download mp3s on a website into a directory with a name derived from that URL. So far I have:
echo “MP3 Downloader”
echo -n "Enter full URL address of website or website subdirectory > "
... (3 Replies)
Discussion started by: Garnett
6. UNIX for Advanced & Expert Users
is it possible to automatically run a script (bash) when an event occurs?
I mean, let's say that I (or one of my users) plug in a flash memory (USB) ... is it possible to run a script every time I do this action (let's say to log user, date and other infos on a file)?
Bye... (5 Replies)
Discussion started by: TShirt
7. Shell Programming and Scripting
I'm trying to take a .flac file and use metaflac to write
the tag info into a file, Then read the title portion of the tag and rename the original .flac file with this info.
lets call this script renameflac
now on the command line if I type:
metaflac myfile.flac... (9 Replies)
Discussion started by: vbslim
8. Shell Programming and Scripting
hi i need to make a script that will check the directories of the users on mp3 or mp4 files. if so they must be automaticly deleted and they have to get a warning message instead.
this should be running every day at 1 pm and should be done within the cron file.
could someone help me with... (2 Replies)
Discussion started by: stefan
9. Shell Programming and Scripting
I'm a beginner in unix.As a part of my script i need to remote logon using ssh.
my script run as being asked for password and logons only after the user enters the password correctly. But my script stops executing after that as I login to a different server(different shell if i'm right).... (3 Replies)
Discussion started by: dayanand
OCP(1) General Commands Manual OCP(1)
ocp - music player
ocp [ options ] [ playlist ] [ modulename ]
This manual page documents briefly the ocp command.
ocp is a music player which can play music modules (it, s3m, xm, mod), wave, audio CD, sid, midi, mp3, adlib, flac, ym, and ogg vorbis.
The player has a built-in file selector which can be configured using alt-c. Press f1 for the online help.
To use the graphical output mode see your ~/.ocp/ocp.ini configuration file.
-h Show summary of options.
-c Use specific configuration.
-f Fileselector settings
-v Sound settings
-s Device settings
-p Quit when playlist is empty.
ocp -fl0,r1 -vp75,f2 -spdevpdisk -sr48000 fegolhuz.xm
Renders the module to HD.
You can find a more detailed document at http://www.cubic.org/player/opencp.pdf.
oggenc(1), flac(1), lame(1).
Open Cubic Player was written by Niklas Beisert and ported to Linux by Stian Sebastian Skjelstad.
This manual page was written by Gurkan Sengun <firstname.lastname@example.org>, for the Debian project (but may be used by others).
December 26, 2006 OCP(1)