So, my third thread here ^^ and still asking questions.
Thanks for you patience and help, I really appreciated it
I currently use a shell script to move folders of songs from one to another location on my harddrive.
I use something like this:
sudo mv /var/mobile/Media/"My Music"/"Vasco Rossi" /var/mobile/Media/0tempmusic/"Vasco Rossi"
sudo mv /var/mobile/Media/"My Music"/"Yui" /var/mobile/Media/0tempmusic/"Yui"
sudo mv /var/mobile/Media/"My Music"/"ZARD" /var/mobile/Media/0tempmusic/"ZARD"
sudo mv /var/mobile/Media/"My Music"/"8 Mile[Soundtrack][2002][MP3@320kbps]-FLAWL3SS" /var/mobile/Media/0tempmusic/"8 Mile[Soundtrack][2002][MP3@320kbps]-FLAWL3SS"
sudo mv /var/mobile/Media/"My Music"/"Berlin Calling OST" /var/mobile/Media/0tempmusic/"Berlin Calling OST"
sudo mv /var/mobile/Media/"My Music"/"Hangover OST" /var/mobile/Media/0tempmusic/"Hangover OST"
sudo mv /var/mobile/Media/"My Music"/"Inception OST - 2010 - (Hans Zimmer)" /var/mobile/Media/0tempmusic/"Inception OST - 2010 - (Hans Zimmer)"
The problem however is that I don't have all the folders in the place the script works with.
This naturally results in cannot stat errors.
What I would be interested in now is a way to have the script just ignore any "cannot stat error message".
I know that using a "if-else" would solve the job, but since the code up there is only a small portion of the real thing it simply would be alot of work and writing (or copy and paste if you want) to do.
I hope there is something the mv command has that will help me with that.
As always:
Thanks in advance you guys are awesome