Star Golden Bell Ep. 275

star-golden-bell-e275-20100316-kbsw-avi_thumbs_2010-03-18_16-12-07
Star Golden Bell, Episode 275, Mar 16 2010, from KBS World

Continue reading Star Golden Bell Ep. 275

Recursive delete using Python

Let’s say you have a folder with many (and deep) subfolders, and in each folder, you want to delete ‘Thumbs.db’ file:

#!/usr/bin/env python

import os

def delete(root, name):
    os.unlink(os.path.join(root, name))

def main():
    for root,dir,files in os.walk(os.getcwd()):
        for f in files:
            if f.lower().endswith('.db'):
                if f == 'Thumbs.db':
                    print 'Delete %s' % os.path.join(root, f)
                    delete(root, f)

if __name__=='__main__':
    main()

Save this script as ‘deletethumbs.py’. Go to top folder where you want to delete those ‘thumbs’ and execute it:

cd ~/Music
python ~/deletethumbs.py

Aegisub 2.1.8 Fedora 12 RPM

Aegisub is an advanced subtitle editor that assists in the creation of subtitles, translations, and complex overlays using audio or video. Developed by enthusiasts it builds on workflows created and perfected through professional, hobby, and everyday use

SPEC file and patch: Download
F12 RPM: Download

Refer to previous post on how to rebuild the RPM from spec file provided.

Note: Use pulseaudio as audio player (View > Options > Audio > Advanced > Audio Player)

aegisub-screenshot
Aegisub on Fedora 12

References: