-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (22 loc) · 945 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
all: clean list run
list:
find /home/ijonglin/BACKUP/D512/MP3s -name "*.mp4" > FANCYCAR.list.out
find /home/ijonglin/BACKUP/D512/MP3s -name "*.mp3" >> FANCYCAR.list.out
find /home/ijonglin/BACKUP/D512/MP3s -name "*.m4a" >> FANCYCAR.list.out
short_list:
find /home/ijonglin/BACKUP/D512/MP3s -name "*.mp4" | head -3 > FANCYCAR.list.out
find /home/ijonglin/BACKUP/D512/MP3s -name "*.mp3" | head -3 >> FANCYCAR.list.out
find /home/ijonglin/BACKUP/D512/MP3s -name "*.m4a" | head -3 >> FANCYCAR.list.out
run:
python3.7 fancy2sad_listing.py
check:
find /home/ijonglin/BACKUP/MP3_thumb -exec ls -l {} \;
clean:
rm -rf /home/ijonglin/BACKUP/MP3_thumb/
do_setup:
cp -rp /home/ijonglin/BACKUP/MP3-thumb /home/ijonglin/BACKUP/MP3-thumb-albums
cp albumize.py one_offs.py Makefile /home/ijonglin/BACKUP/MP3-thumb-albums
cd /home/ijonglin/MP3-thumb-albums; make
install:
sudo apt-get install python python-pip ffmpeg
pip install Unidecode