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 [...]
Quick notes
-
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...
(0) # -
Google-api-translate-java
• Encontre este proyecto en Google Code el nos permite usar Google Translate en nuestras...
(4) # -
What is your best programmer joke?
• Excelente post en crecimiento con los mejores chistes de...
(0) #
-
Archives
-
Meta
Categories
- Actionscript x.x (4)
- Adobe Air (1)
- Ajax (1)
- android (1)
- Bash (2)
- Cool (1)
- donnu (3)
- Flex (4)
- Funny (2)
- Google (9)
- Google Spreedsheet (1)
- Java (3)
- Javascript (5)
- Linux (2)
- Metodologias de trabajo (2)
- Mysql (5)
- Php (13)
- Projects (1)
- Publicidad Digital (1)
- Uncategorized (27)
- Virus (1)
Blogroll
-
Sponsors
-
Recent Comments
- Ameth Cruz: La verdad, cosas de ese tipo se irán terminando p
- jorge: De nuevo, en indautor solo puedes registrar que TU
- Mauro: Antes debes llamar al metodo serReferer. Googl
- Adrian: Asi es , por eso menciono todas las alternativas p
- Xquizo: Adrian, no veo porque deberian ser taaantas demand
©2009 Instropy is proudly powered by WordPress
Instropy using theme Collision V.1.0 by Storelicious