9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello All,
we what we call a parameter file (.txt) where my application read dynamic values when the job is triggered, one of such values are below:
abc.txt
------------------
line1
line2
line3
$$EDWS_DATE_INSERT=08-27-2019
line4
$$EDWS_PREV_DATE_INSERT=08-26-2019
I am trying to... (1 Reply)
Discussion started by: pradeepp
1 Replies
2. UNIX for Beginners Questions & Answers
Hi,
I have parameter file wo_location.prm which has a date variable $last_upd_date= 02032016.
I need to write a unix shell script to find that variable and increment it by 1 day.
The path to the file is root/dir_lc/shared/param/wo_location.prm and the variable is $last_upd_date.
Any... (2 Replies)
Discussion started by: isenhiem
2 Replies
3. UNIX for Dummies Questions & Answers
My unix version is IBM AIX Version 6.1
I tried google my requirement and found the below answer,
find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20"
But newer command is not working in AIX version 6.1 unix
I have given my requirement below:
Input:
atr files:
... (1 Reply)
Discussion started by: yuvaa27
1 Replies
4. Shell Programming and Scripting
I am not able to pass date stored in a variable as an argument to date command. I get current date value for from_date and to_date
#!/usr/bin/ksh
set -x
for s in server ; do
ssh -T $s <<-EOF
from_date="12-Jan-2015 12:02:09"
to_date="24-Jan-2015 13:02:09"
echo \$from_date
echo... (7 Replies)
Discussion started by: raj48
7 Replies
5. Shell Programming and Scripting
Hi all,
Need an urgent help on the below scenario.
script:
awk -F","
'BEGIN { #some variable assignment}
{ #some calculation and put values in array}
END {
year=#getting it from array and assume this will be 2014
month=#getting it from array and this will be 05
date=#... (7 Replies)
Discussion started by: vijaidhas
7 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I ran rsync command to copy all files, directories and subdirectories from /home/dir1 to another Target directory /home/dir2
Now I want to make sure everything is copied over without missing anything. Is there a command I can run which will compare both directories and check to see if I am... (4 Replies)
Discussion started by: tkhan9
4 Replies
7. UNIX for Dummies Questions & Answers
hi
I have a rsync working between two servers but i would like to write this to a daily log on completion to a area on one of the servers. This way i can check if sync was successful easily.
Rsync i am running is as follows
rsync -aWv -e ssh --stats progress --delete --ignore-errors... (2 Replies)
Discussion started by: treds
2 Replies
8. OS X (Apple)
Hi all,
i'm syncing two raid sets together using "rsync -avE --delete" i build the two raid sets identical to each other using storenext , however when i let the script run a couple of times my destination is about 300 GB larger then my source.
i run the command as root on a 10.5.6 Xserve and... (2 Replies)
Discussion started by: wessel
2 Replies
9. UNIX for Advanced & Expert Users
Hi ,
I have written a shell script that takes the current date on the server and stores it in a file.
echo get /usr/home/data-`date '+%Y%d'`.xml> /usr/local/sandeep/GetFILE.ini
I call this GetFILE.ini file from an sftp program to fetch a file from /usr/home/ as location. The file is in... (3 Replies)
Discussion started by: bsandeep_80
3 Replies
MP3WRAP(1) General Commands Manual MP3WRAP(1)
NAME
mp3wrap -- Utility for mp3 wrapping
SYNOPSIS
mp3wrap [options] OUTPUTFILE f1.mp3 f2.mp3 [f3.mp3]...
DESCRIPTION
Mp3Wrap is a free command-line utility, which wraps two or more mp3 files in one large playable file, without losing filename and ID3
informations. It's useful to make large files easy to download on internet and then easy to split again in few seconds. You can split orig-
inal files using mp3splt: http://mp3splt.sourceforge.net
Mp3Wrap will create a file named: OUTPUTFILE_MP3WRAP.mp3. It's important you don't remove the MP3WRAP string, because this will tell the
split program Mp3Splt that the file is wrapped and can be splitted just with -w option. There is also the possibility to specify a custom
extension to created file (such as "OUTPUTFILE - MP3WRAP - wrapped by me.mp3"). This can be done using config file (see below), just adding
the line "EXT=my ext.mp3" into it. Note that your custom extension must contain MP3WRAP string anywhere, otherwise program will add it by
itself.
Mp3Wrap will also add to the file a ID3v2 containing informations on how to split the file; you can change Title and Album tags but PLEASE
DO NOT REMOVE THE COMMENT.
OPTIONS
-a Add specified files to an existing Mp3Wrap file. Files are appended and the index is updated.
-l List all files wrapped into a Mp3Wrap file. Doesn't extract anything
-v Verbose mode. Mp3Wrap will display additional informations on process and, when using list option (-l) it will show many extra
infos on wrapped files.
CONFIGURATION FILE
For Linux version valid configuration files are:
~/.mp3wrap (in home directory)
.mp3wrap (in the dir you are in that moment).
For WIN32 version:
PROG_DIR/mp3wrap.ini (dir where mp3wrap.exe is)
mp3wrap.ini (in the dir you are in that moment).
FILE FORMAT
The file consists of key-value pairs in the form
KEY=value
where key contains no whitespace and no equal signs. value will be all of the text after the equal sign until (but not including) the end-
ing newline. Beware of extra spaces at the end of the line! They will probably be interpreted as part of the option value.
Valid option keys are:
EXT The extension mp3wrap will append to created files.
Here is an example:
EXT=_MP3WRAP_wrapped by me.mp3
EXAMPLES
mp3wrap album.mp3 file1.mp3 file2.mp3 file3.mp3 file4.mp3
mp3wrap -v album.mp3 file*.mp3
mp3wrap -a album.mp3 file5.mp3 file6.mp3
mp3wrap -l album.mp3
mp3wrap -lv album.mp3
BUGS
Report any bugs you find to Author (see below). Advices and info requests are welcome.
SEE ALSO
mp3splt(1)
AUTHOR
Matteo Trotta <mtrotta@users.sourceforge.net>.
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 mp3wrap directory.
MP3WRAP(1)