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
audio::mpd::playlist
Audio::MPD::Playlist(3pm) User Contributed Perl Documentation Audio::MPD::Playlist(3pm)
NAME
Audio::MPD::Playlist - class to mess MPD's playlist
VERSION
version 1.120610
SYNOPSIS
$mpd->playlist->shuffle;
# and lots of other methods
DESCRIPTION
Audio::MPD::Playlist is a class meant to access & update MPD's playlist.
Note that you're not supposed to call the constructor yourself, an Audio::MPD::Playlist is automatically created for you during the
creation of an Audio::MPD object - it can then be used with the "playlist()" accessor.
RETRIEVING INFORMATION
as_items
my @items = $pl->as_items;
Return an array of Audio::MPD::Common::Item::Songs, one for each of the songs in the current playlist.
items_changed_since
my @items = $pl->items_changed_since( $plversion );
Return a list with all the songs (as Audio::MPD::Common::Item::Song objects) added to the playlist since playlist $plversion.
ADDING
/ REMOVING SONGS
add
$pl->add( $path [, $path [...] ] );
Add the songs identified by $path (relative to MPD's music directory) to the current playlist. No return value.
delete
$pl->delete( $song [, $song [...] ] );
Remove the specified $song numbers (starting from 0) from the current playlist. No return value.
deleteid
$pl->deleteid( $songid [, $songid [...] ] );
Remove the specified $songids (as assigned by mpd when inserted in playlist) from the current playlist. No return value.
clear
$pl->clear;
Remove all the songs from the current playlist. No return value.
crop
$pl->crop;
Remove all of the songs from the current playlist except the song currently playing.
CHANGING PLAYLIST ORDER
shuffle
$pl->shuffle;
Shuffle the current playlist. No return value.
swap
$pl->swap( $song1, $song2 );
Swap positions of song number $song1 and $song2 in the current playlist. No return value.
swapid
$pl->swapid( $songid1, $songid2 );
Swap the postions of song ID $songid1 with song ID $songid2 in the current playlist. No return value.
move
$pl->move( $song, $newpos );
Move song number $song to the position $newpos. No return value.
moveid
$pl->moveid( $songid, $newpos );
Move song ID $songid to the position $newpos. No return value.
MANAGING PLAYLISTS
load
$pl->load( $playlist );
Load list of songs from specified $playlist file. No return value.
save
$pl->save( $playlist );
Save the current playlist to a file called $playlist in MPD's playlist directory. No return value.
rm
$pl->rm( $playlist );
Delete playlist named $playlist from MPD's playlist directory. No return value.
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 Audio::MPD::Playlist(3pm)