Thread: A quistion of how things are done, in terminal...
hi
i'm wondering how complex tasks can solve in terminal. i'm beliving rather complex, if know do. here current "problem":
have folder of 30+ jpg files. of these files realy zip files. each file contains jpg file of qr code. need information in qr code stored in txt file name og original zip (jpg) file.
see following operations:
1. convert .jpg extentions .zip (this may not needed)
2. unzip files (1 file per zip file) , name them name of zip file.
3. read new .jpg files (they qr codes) , save information in filename.txt
i'm sure 1 & 2 can done, not sure how. i'm not sure 3 can done.
i'm i'll have last 2 steps hand...
4. read text in each filename.txt , process vigenere cipher (i know key)
5. count number of a's, b's , sofort in new decoded text.
j;-)
no asking lot
extract file
cd /path/to/dir want extract
tar -x <filename> -f /path/to/*.tar
have @ man pages
man "wrjpgcom" "cjpeg" "djpeg" "jpegtran" "rdjpgcom"
others best at
encoding
http://papacharliefox3.wordpress.com...e-vigenere/for decoding
http://smurfoncrack.com/pygenere/pygenere.py
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] A quistion of how things are done, in terminal...
Ubuntu
Comments
Post a Comment