Hi
i'm trying to grab the data from this dcop command and manipulate it in the command line
make symlinks, copy move the files etc
is the command to view the Path of current song
Quote:
/mnt/music/Artist/Album/Track01.ogg
|
but i can't figure how i can use this data in a script
i've tried
cp "dcop amarok player path" /home/carl0ski/
/mnt/music/Artist/Album/Track01.ogg > %song
cp %song /home/carl0ski/
#!/bin/bash
ln -s $1 /home/carl0ski/Desktop/music/
sh ./copysongscript.sh %song
but all create a text file called %song with the file name contained, not a physical copy of the file
.
thanks