2017-10-22, 09:21
(2017-10-21, 02:34)dmdsoftware Wrote:(2017-10-20, 11:43)hasamba Wrote:(2017-09-28, 15:54)SEIKT Wrote: If all you want to do is file encryption, just use encrypt.py and encryption.py from that github link. Here's the command you need to enter into your terminal:
Code:python encrypt.py saltfile thepassword sourcefolderpath filename destinationfolderpath
Example:
I have a movie located in: /home/bob/movie/cindy 2011
and the filename = cindy.mkv
I would enter this command in the terminal
Code:python encrypt.py saltfile thepassword "/home/bob/movie/cindy 2011" cindy.mkv /home/bob/upload
Forgot to mention you would need to have pycrypto installed.
hey @SEIKT,
i tried what you wrote but im getting "none" each time
this is the command i used: "c:\Python27\python.exe" encrypt.py saltfile R25hfYY1p4ZUw4FwkWOUac8Q2jQcG2Pt f:\Yaniv\Downloads\Encrypt-and-Upload-GDrive-master 1.mp4 f:\Yaniv\Uploads
i tried playing with the slashes, with the paths...nothing works
can you help?
thanks
btw, how can i do it automaticly for an entire folder? can i use *.*? can i upload automaticly to gdrive?
You are missing crypto python libraries (pycrypto).
i installed pycrypto before but i guess it didnt install well, im getting :
running install
running build
running build_py
running build_ext
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Random.OSRNG.winrandom' extension
error: Unable to find vcvarsall.bat
trying to figure that problem...
im on win10
python 2.7