User:-revi/upload.py

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

I sometimes upload files via upload.py in Pywikibot.

Pywikibot is primarily a bot software, but it is not a bot upload: I just chose to use this weird software to upload my image. I am sitting in front of my computer, manually using the command to upload it.

I use following command and descriptions when using upload.py.

python3 pwb.py upload -summary:"Created page with [[c:User:-revi/upload.py|upload.py]]" -verbose -lang:commons -family:commons -chunked:"3mb" -filename:"$filename" $file_location
Scrubbing EXIF data
# From https://askubuntu.com/questions/236455/how-can-you-delete-only-gps-metadata-from-a-jpeg-file
exiftool -gps:all= -xmp:geotag= $file_location
=={{int:filedesc}}==
{{Information
|description={{en|1=}}{{ko|1=}}
|date=
|source={{own}}
|author={{Creator:Revi}}
|permission=
|other versions=
|other fields={{User:-revi/cl/2020}}{{User:-revi/iPhone|v=11 Pro}}
}}
{{GPS EXIF}}

=={{int:license-header}}==
{{User:-revi/Credits/t}}{{User:-revi/NPD/2020}}
{{self|Cc-by-sa-2.0-kr|FAL|attribution=[[User:-revi|Revi]]}}


[[Category:Photographs by Revi in {{SUBST:CURRENTYEAR}}]]