Last modified: 2012-10-15 22:34:21 UTC
I have approximately 4 GB of >100 MB files in a tarball for upload to Wikimedia Commons. There are 11 OGV/OGA files and matching TXT files for the descriptions. The dropbox link below is a direct download link. - Commons username to be used: US National Archives bot - Files and descriptions: https://www.dropbox.com/s/vaoahstho1u74d7/NARA.tar.gz?dl=1 Thanks!
Thank you for your request. [ Tip for the future: use .tar ] May I suggest in the future you avoid the CPU intensive gzip operation? A video is already pretty compressed, and a storage .tar would be much faster for more or less the same weight. [ How to produce a .tar and not a .tar.gz? ] To produce a .tar, instead to use "tar czvf", drop the z and use "tar cvf" (c for compress, v to be verbose and print handled files, z to do a gzip compression and f to specify an archive target file instead to print result to stdout). ( Adding 'shell' keyword. )
Thanks. :-) I wasn't aware of the difference. I'll keep that in mind in the future
reedy@fenari:/tmp/uploads$ sudo -u apache mwscript importImages.php --wiki=commonswiki --comment-ext=txt --user="US National Archives bot" /tmp/uploads/Overflow Import Images Importing Video Recording of President William Jefferson Clinton Delivering a Speech to the American Council on Education - NARA - 6037302.ogv...done. Importing Video Recording of the Balkan Peace Agreement Signing - NARA - 6037162.ogv...done. Importing Video Recording of Prime Minister of Israel Yitzhak Rabin's Funeral - NARA - 6037161.ogv...done. Importing Video Recording of President William Jefferson Clinton Delivering Remarks at the Medal of Freedom Ceremony - NARA - 6037156.ogv...done. Importing Video Recording of President William Jefferson Clinton Announcing Ruth Bader Ginsburg as Nominee for Supreme Court Justice - NARA - 6037153.ogv...done. Importing Video Recording of President William Jefferson Clinton Delivering Remarks to the Community - NARA - 6037378.ogv...PHP Warning: SwiftFileBackend::doStoreInternal: Invalid response (503): Unexpected HTTP return code: 503 in /home/wikipedia/common/php-1.21wmf1/includes/filebackend/SwiftFileBackend.php on line 1364 Warning: SwiftFileBackend::doStoreInternal: Invalid response (503): Unexpected HTTP return code: 503 in /home/wikipedia/common/php-1.21wmf1/includes/filebackend/SwiftFileBackend.php on line 1364 failed. (An unknown error occurred in storage backend "local-swift".) Importing Video Recording of President William Jefferson Clinton Delivering Remarks on the After School Child Care Initiative - NARA - 6037196.ogv...done. Importing Video Recording of President William Jefferson Clinton Delivering Remarks at the Granoff Forum - NARA - 6037339.ogv...done. Importing Video Recording of President William Jefferson Clinton Signing Welfare Reform Legislation - NARA - 6037164.ogv...done. Importing Video Recording of the Signing of the Financial Modernization Bill - NARA - 6037181.ogv...done. Importing Video Recording of President William Jefferson Clinton Speaking at the 1996 Democratic National Convention - NARA - 6037301.ogv...done. Found: 11 Added: 10 Failed: 1
Last file won't upload...
Have you tried on hume?
reedy@hume:/tmp$ sudo -u apache mwscript importImages.php --wiki=commonswiki --comment-ext=txt --user="US National Archives bot" /tmp/uploads Import Images Importing Video Recording of President William Jefferson Clinton Delivering Remarks to the Community - NARA - 6037378.ogv...done. Found: 1 Added: 1