Posts

Showing posts from January 24, 2019

Prefettura di Yamaguchi

Image
.mw-parser-output .avviso .mbox-text-div>div,.mw-parser-output .avviso .mbox-text-full-div>div{font-size:90%}.mw-parser-output .avviso .mbox-image div{width:52px}.mw-parser-output .avviso .mbox-text-full-div .hide-when-compact{display:block} Questa voce sull'argomento prefetture del Giappone è solo un abbozzo . Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Prefettura di Yamaguchi prefettura 山口県 ( Yamaguchi-ken ) Localizzazione Stato   Giappone Regione Chūgoku Amministrazione Capoluogo Yamaguchi Governatore Tsugumasa Muraoka Territorio Coordinate del capoluogo 34°11′N 131°28′E  /  34.183333°N 131.466667°E 34.183333; 131.466667  ( Prefettura di Yamaguchi ) Coordinate: 34°11′N 131°28′E  /  34.183333°N 131.466667°E 34.183333; 131.466667  ( Prefettura di Yamaguchi ) Superficie 6 110,94 km² Abitanti 1 445 702 (2011) Densità 236,58 ab./km² Distretti 4 Municipalità 19 Altre inform

shell script to remove files didn't work

Image
3 1 I want to delete multiple images having resolution less then 228x228. For that, I wrote this shell script: #!/bin/bash for i in $( ls ); do if [$(identify -format "%w" $i) < 228] && [$(identify -format "%h" $i) < 228]; then rm $i fi done For some reasons, I got this output when I run it: ./del.sh: line 4: [640: command not found ./del.sh: line 4: [550: command not found ./del.sh: line 4: [315: command not found ... Could you please tell me what's wrong in this script and how to fix it. Thank you. EDIT: Even after I added spaces after the brackets, I still got an error. It was due to the usage of < instead of -lt and has been fixed. Now there is no error. command-line bash sc