Browse Source

BF: list both directories content

Elena Piscopia 4 years ago
parent
commit
2b0f263142
1 changed files with 2 additions and 2 deletions
  1. 2 2
      code/list_titles.sh

+ 2 - 2
code/list_titles.sh

@@ -1,10 +1,10 @@
-for i in recordings/longnow/Long_Now__Seminars*/*.mp3; do
+for i in recordings/longnow/Long_Now*/*.mp3; do
    # get the filename
    base=$(basename "$i");
    # strip the extension
    base=${base%.mp3};
-   # date as yyyy-mm-dd
    printf "${base%%__*}\t" | tr '_' '-';
    # name and title without underscores
    printf "${base#*__}\n" | tr '_' ' ';
+
 done