06-07-2011
Try with
--exclude=/home/dasha/my\\ songs
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am using tar cvf inside a shell script to archive files.
Is there an option to surpress any prompts which come up if the desired archive name already exists ?
Thanks in Advance.
Kas. (2 Replies)
Discussion started by: kas7225
2 Replies
2. UNIX for Dummies Questions & Answers
Please help me in resolving the issue.
I have taken backup using the below command
$ tar cvf - . |compress -> /opt/globusback2/needed_backups/apglsg.tar.Z
I tried to restore the backup using the below command.
$ zcat /opt/globusback2/needed_backups/apglsg.tar.Z | tar -xvf -
... (2 Replies)
Discussion started by: amirthraj_12
2 Replies
3. UNIX for Dummies Questions & Answers
hi,
i wat to get the output of a grep command in a file. but when i am trying out the same grep command in the unix prompt its working fine.. i am getting the output properly.. but when i am writing the same command inside my shell script , its just creating a new output file with no contents... (1 Reply)
Discussion started by: kripssmart
1 Replies
4. AIX
hi all
im making a script for backing up a specific filesystem that is an output of our DB13(SAP) into tape..which is around 40g +
which is suitable tar or backup command
i heard tar has limitations ..i heard it can only backup upto 2 gig??? is this ryt?
and ill put this into cron.
... (6 Replies)
Discussion started by: redmanshogun
6 Replies
5. Shell Programming and Scripting
Hi All,
Is there any way to monitor a command inside shell script ? I have a script inside which I have a tar command which zips around 200GB data.
tar zcvf $Bckp_Dir/$Box-BaseBackup-$Day.tar.gz * --exclude 'dbserver_logs/*' --exclude postmaster.pid --exclude 'pg_xlog/*'
I want to... (3 Replies)
Discussion started by: sussus2326
3 Replies
6. Shell Programming and Scripting
Guys,
I need you help please.
The script below is not working correclty for checking via a awk/if statement . Can you tell me what i am doing wrong in the script code "if($1 == "$RETENTION_LEVEL") "
Syntax
RETENTION_LEVEL=`echo $LINE | cut -f2 -d" "`
echo " ==============... (4 Replies)
Discussion started by: Junes
4 Replies
7. Shell Programming and Scripting
hii,,
I am trying to automate jira. during my scripting using bash script, in the terminal i got the terminal message like this:
"Configure which ports JIRA will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you... (1 Reply)
Discussion started by: nithinfluent
1 Replies
8. Shell Programming and Scripting
Hello All,
I need immediate help in creating shell script to call archivebkup.ksh script when archive file system capacity reaches threshold value or 60%
Need to identify the unique file system that reaches threshold value.
ex:
capacity
... (4 Replies)
Discussion started by: sasikanthdba
4 Replies
9. Shell Programming and Scripting
Hi Guys,
I have to make shell script means tar all files from path /home/admin and move to path /dis/wis/
Please help me. (5 Replies)
Discussion started by: aaditya321
5 Replies
10. Shell Programming and Scripting
Hi,
i have a source file and have 3 columns and separated by "|" .i want to split this 3 columns in different variable.When i am executing this values indivisually giving correct result but when the same execute inside a for loop,it's giving issues.
Src file(jjj.txt)
-------... (8 Replies)
Discussion started by: raju2016
8 Replies
LEARN ABOUT DEBIAN
mpd-dynamic
MPD-DYNAMIC(1p) User Contributed Perl Documentation MPD-DYNAMIC(1p)
NAME
mpd-dynamic - a dynamic playlist for mpd
VERSION
version 1.120610
DESCRIPTION
This program implements a dynamic playlist for MPD, build on top of the Audio::MPD perl module.
MPD (music player daemon) is a cool music player, but it lacks a dynamic playlist. A dynamic playlist is a playlist that will change
automatically over time. In particular, it will remove already played songs (keeping at most a given number of songs) and add new songs to
the playlist so it never fall short of songs.
Note that since mpd is a daemon needing no gui to work, "mpd-dynamic" is also a daemon. That is, it will fork and do all its work from the
background. This way, you can fire "mpd" and "mpd-dynamic" and forget completely about your music (especially since "mpd-dynamic" is a
low-resource program): it will just be there! :-)
USAGE
mpd-dynamic [options]
OPTIONS
General behaviour
You can customize the usage of mpd-dynamic with the following options:
-o[ld] <old>
Number of old tracks to keep in the backlog. Defaults to 10.
-n[ew] <new>
Number of new tracks to keep in the to-be-played playlist. Defaults to 10.
-s[leep] <sleep>
Time spent sleeping (in seconds) before checking if playlist should be updated. Default to 5 seconds.
-d[ebug]
Run mpd-dynamic in debug mode. In particular, the program will not daemonize itself. Default to false.
-e[ncoding] <encoding>
Print debug messages with this encoding. Since mpd-dynamic is meant to be a silent daemon, this option will not be used outside of
debug mode. Default to "utf-8".
--version
--usage
--help
--man
Print the usual program information
Note however that those flags are optional: since "mpd-dynamic" comes with some sane defaults, you can fire "mpd-dynamic" as is.
Ratings
You can also take advantage of ratings if you want. With those options, songs need to have at least a given rating (or no rating yet) to be
inserted: this way, you will only listen to your favorite songs!
Ratings can be created / updated with "mpd-rate".
Note that if you supply a non-existant rating db-file, the rating mechanism will be ignored. The following options control the rating
mechanism:
-r[atings] <ratings>
The path of a db file with the ratings per song. The keys are the song path (relative to MPD root), and the value is an integer (the
rating). Default to "~/.mpd/ratings.db".
-m[in[imum]] <min>
The minimum rating for a song to be inserted in the playlist. Default to 4.
AUTHOR
Jerome Quelin
COPYRIGHT AND LICENSE
This software is copyright (c) 2007 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-03-01 MPD-DYNAMIC(1p)