Thread
:
Auto-add weirdness
View Single Post
01-02-2016, 08:16 AM
#
21
kovidgoyal
creator of calibre
Posts: 45,455
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
And here's a one liner that will mark all files int he current directory as writable (assuming chmod works)
calibre-debug -c "import os, stat; from calibre import walk; [os.chmod(f, stat.S_IRWXU) for f in walk('.')]"
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS