Skip to content

antonioalonzi/scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General

Collection of scripts that I created and used in my life.

passwords.sh

Allow to securely save your passwords on your computer. Passwords will be saved under "~/Private/passwords.txt.gpg" and encrypted using gpg using a master passwords. If you forgot your master passwords you won't be able to decrypt the file anymore.

Prerequisite

To use this script you must install gpg.

Initialization

mkdir ~/Private
cd ~/Private
echo "----------------------------------------------------------------------------------------------" > passwords.txt
echo "|   Site                                | Username        | Password     | Extra Info        |" >> passwords.txt
echo "----------------------------------------------------------------------------------------------" >> passwords.txt
echo "| www.example.com                       | MyUser          | MyPass       |                   |" >> passwords.txt
echo "----------------------------------------------------------------------------------------------" >> passwords.txt
gpg -c passwords.txt
rm passwords.txt

Usage

To see a password:

passwords.sh see example

To edit a passwords:

to be implemented

photoCompress.sh

Resizes all jpg files in the current folders to a new image of size more or less 2400x1800 It keeps the ratio of the photo. It does not actually change the current photos but create a copy in a new folder 'resized'

Usage

Resizes photos in current folders:

photoCompress.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages