5
rated 0 times
[
5]
[
0]
/ answers: 1 / hits: 1997
/ 2 Years ago, fri, april 22, 2022, 3:10:11
I am trying to make a bash script that will find all the mp3s in my Downloads folder and move them into a music folder. Why won't this line work?
find ./ -type f -name *.mp3 | mv *.mp3 /home/mitch/Desktop/Music/$ARTIST
I tried using a pipeline to have the information from the first command translate to the second, but I have never used a pipeline before and don't know if I'm doing it wrong or if I have the wrong idea of what they are used for.
More From » command-line