From a54fcac59b38fc01a05622d744ab5140fac9b853 Mon Sep 17 00:00:00 2001 From: "E.zn" Date: Fri, 21 Feb 2020 17:16:15 +0100 Subject: [PATCH] sh/py --- helper-upload_imgs_dir.sh | 22 +++++++++++++--------- upload_imgs_dir.py | 2 +- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/helper-upload_imgs_dir.sh b/helper-upload_imgs_dir.sh index 9e585d7..48d601b 100755 --- a/helper-upload_imgs_dir.sh +++ b/helper-upload_imgs_dir.sh @@ -1,16 +1,17 @@ #!/bin/sh python3 upload_imgs_dir.py \ ---title 'No' \ ---creator 'a' \ ---date '2020/01/01' \ ---org 'b' \ ---format 'c' \ ---event 'd' \ ---topic 'e' \ ---language 'English' \ +--title 'NO' \ +--creator 'zzzzzzzzzzzzzzzzzzzzzz' \ +--date '1990/12/01' \ +--org 'aaaaaaaaa' \ +--format 'bbbbbbbbbbb' \ +--event 'dddddddddd' \ +--topic 'ccccc' \ +--language 'English,Tagalog' \ --dir '/home/ezn/Desktop/XPUB/Special_Issue_XI_[Ezn]/D.lo/2020_bantayog/Kalayaan Vol. 12 No. 1' \ ---dry + +#--dry # Note: # * Add this values to you upload specific upload. @@ -21,3 +22,6 @@ python3 upload_imgs_dir.py \ # Get help: python3 upload_imgs_dir.py --help + + + diff --git a/upload_imgs_dir.py b/upload_imgs_dir.py index d25cc99..0458f4f 100644 --- a/upload_imgs_dir.py +++ b/upload_imgs_dir.py @@ -92,7 +92,7 @@ for n, _file in enumerate(lsimgs): format=(', ').join(args.format[1:]), event=(', ').join(args.event[1:]), topic=(', ').join(args.topic[1:]), - language=(', ').join(args.language[1:]), + language=(', ').join(args.language[1:]) ) _file_path = os.path.join(args.dir, _file)