add find and sort
This commit is contained in:
6
run.sh
6
run.sh
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
exec bin/player music/pink\ floyd/dark\ side\ of\ the\ moon/01\ Speak\ to\ Me.flac music/pink\ floyd/dark\ side\ of\ the\ moon/02\ Breathe\ \(In\ the\ Air\).flac
|
||||
mapfile -t tracks < <(
|
||||
find "music/pink floyd/dark side of the moon" -type f -iname '*.flac' | sort -V
|
||||
)
|
||||
exec bin/player "${tracks[@]}"
|
||||
|
||||
Reference in New Issue
Block a user