I`ve made the following script , it decrypts all pgp/encrypted files and then move them into another folder. I hope it helps someone. #!/bin/bash decryptEmAll(){ #file that contains your passphrase. declare -r pfile='/pf0.dat'; #where to move the decrypted files. declare -r outputFolder='/blackhole/'; for i in `ls /yourpath/*.pgp`; do echo "----------------------------------------------------\n"; #build the command. cmd="cat $pfile" cmd="${cmd}|" cmd="$cmd /usr/bin/gpg --batch --no-tty --yes --passphrase-fd=0 " cmd="$cmd --output $outputFolder${i/\.pgp/} " cmd="$cmd --decrypt /yourpath/${i}" eval $cmd echo [...]
![]() Punk Rock Pinup Girls |
Quick notes
-
HTML5, AJAX, SEO and other drugs, learn how to combine them
• Nowadays it´s quite common to browse between full rich content sites with, you know a lot of...
(0) # -
Posting to your friends Wall (Simple Javascript/Php/Facebook API)
• I must admit it, I were looking for an example like this (or even better a downloadable code)...
(16) # -
3D with OpenGL [Android]
• Looking for some OpenGL snippets I just came up to this project wich is a port of NeHe's tutorials...
(0) # -
[Labs] Geolocation and twitter
• I realized that I´m more a visual guy, i have to admit that I got dozens of drafts that i haven´t...
(0) # -
Reading a json login response with Android SDK
• Json had became quickly my favorite and more comfortable way to output the data, because of the...
(22) #
-
Archives
-
Meta
Categories
- Actionscript x.x (4)
- Adobe Air (1)
- Ajax (2)
- android (1)
- Bash (2)
- Cool (1)
- donnu (4)
- Flex (4)
- Funny (2)
- Google (10)
- Google Spreedsheet (2)
- Java (3)
- Javascript (7)
- Linux (2)
- Metodologias de trabajo (2)
- Mysql (5)
- Php (15)
- Projects (1)
- Publicidad Digital (1)
- Uncategorized (29)
- Virus (1)
Blogroll
©2009 Instropy is proudly powered by WordPress
Instropy using theme Collision V.1.0 by Storelicious
