User:Revi C./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 C./cl/2020}}{{User:Revi C./iPhone|v=11 Pro}}
}}
{{GPS EXIF}}

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

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