Thread
:
Auto-add weirdness
View Single Post
01-02-2016, 08:12 AM
#
20
kovidgoyal
creator of calibre
Posts: 45,235
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Here's a one liner that will extract the contents of a zip file into the current directory.
calibre-debug -c "import sys, zipfile; zipfile.ZipFile(sys.argv[-1]).extractall()" file.zip
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS