I am running the following to echo the filenames but alter the file extension on the files to .mp3 instead of .ogg ( I am going to run ffmpeg against the files ultimately, but keeping the example simple for the sake of the thread).
I expect the output to be:
But instead it fails to remove the .ogg and I end up with:
* Note the ".ogg.mp3" extension *
A basic echo works as expected:
I can only assume this has something to do with the space between {} and .ogg in the confines of find.
How can I run this so it produces the desired filename?
Hello.
Consider the following magic words:
# ls `which adduser`
ls: /usr/sbin/adduser: No such file or directory
#
Hmmm...
Then:
# ls /usr/sbin/adduser
/usr/sbin/adduser
#
Now what?
Unforunately this little sniippet is used in my debian woody server's mysql pre install script.... (2 Replies)
I have a script with a find command using xargs to copy the files found to another directory. The find command is finding the appropriate file, but it's not copying. I've checked permissions, and those are all O.K., so I'm not sure what I'm missing. Any help is greatly appreciated.
This is... (2 Replies)
Hi,
i wan to search the file starting with Admin into the directory Output. I am running below command:
find /appl/Output -name "Admin*" -prune
but this command is going into the sub directories present under output. I do not want to search under sub directories. Any help will be highly... (6 Replies)
Hi,
I am using the following command to extract any log files that are older than 3 days using the following command.
find DIR/LOGDIR -type f -mtime +3 |grep LOG > log_list.out
The results are
DIR/LOGDIR/1.LOG
DIR/LOGDIR/2.LOG
DIR/LOGDIR/3.LOG
DIR/LOGDIR/4.LOG
How do inculde (basename... (4 Replies)
Portion of my script below :
if ; then
NUMBEROFFEILDS=`cat ${BASE_SCRIPT_LOC}/standardfilecleanup.lst|grep -w ${db_file_path}|awk -F: '{print NF}'`
COUNT=4
while ; do
awk_var="$"`echo $COUNT`
file_name1=`cat ${BASE_SCRIPT_LOC}/standardfilecleanup.lst|grep -w... (1 Reply)
hi there,
Would you able to advise that why the syntax or statement below couldn't work as expected ?
/usr/bin/find /backup -name "*tar*" -mtime +2 -exec /bin/rm -f {} \; 1> /dev/null 2>&1
In fact, I was initially located it as in crontab job, but it doesn't work at all. So, I was... (9 Replies)
I need to sort through a volume that contains video files by access time and delete files that have not been accessed over x days. I have to use the access time as video files are originals that do not get modified, just read
Testing commands on a local test folder...
$ date
Wed Sep 28... (10 Replies)
Hi,
I have prepared a script and trying to execute it but not getting expected output. Could you please help and advise what is going wrong.
"If else" part in below script is not working basically.
I am running it on HP-UX.
for i in slpd puma sfmdb
do
echo "******\t$i\t*******"
echo... (10 Replies)
Greetings,
For housekeeping, I use the following command:
find /some/path -type f -name "*log*" ! -exec fuser -s "{}" 2>/dev/null \; -exec ls -lh {} \;
It finds all log files not currently in use by a process and manipulates them.
This command always works on linux and redhat machines,... (2 Replies)
Discussion started by: dampio
2 Replies
LEARN ABOUT DEBIAN
mp3splt-gtk
MP3SPLT-GTK(1) General Commands Manual MP3SPLT-GTK(1)NAME
mp3splt-gtk -- Gtk utility for mp3/ogg splitting without decoding.
SYNOPSIS
mp3splt-gtk [-d Directory ] [ Filename ]
DESCRIPTION
mp3splt-gtk is a free software that allows you to split mp3 and ogg files from several splitpoints, without need of decoding and reencod-
ing. It is useful to split large mp3/ogg to make smaller files or to split entire albums to obtain original tracks.
If you are splitting an album you can get splitpoints and filenames automatically from servers on internet like tracktype.org or from a
local .XMCD (.CDDB) or .CUE file, with the possibility to adjust them automatically with silence detection.
You can also split files automatically with silence detection, or by a fixed time length.
If you have a file created either with Mp3Wrap or AlbumWrap, you can easily split it.
The whole program is controlled by a self-describing GUI and documented in the gnome help system. Optionally the name of the input file and
the output directory can be specified on the command line (see above).
BUGS
Report any bugs you find to the authors (see below). Advices, info requests and contributions are welcome.
SEE ALSO mp3splt(1)mp3wrap(1)AUTHORS
Alexandru Ionut Munteanu <io_fx@yahoo.fr>
DISTRIBUTION
Visit http://mp3splt.sourceforge.net for latest release.
mp3splt-project is
(C) 2002-2005 by Matteo Trotta
(C) 2005-2012 by Alexandru Ionut Munteanu
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License. This can be found
as COPYING in mp3splt packages.
MP3SPLT-GTK(1)