General :: How To Encrypt A Single File

Sep 14, 2010

I need to temporarily store a file containing sensitive data in a public server, in a secure way. I think that encrypting the whole file would be much more secure than creating a passworded .zip encrypted file, because they could be subject of brute force attacks. Attacking a whole file of unknow format is harder, I think. I thought of something like the command:

Code:
$ programidontknow --encrypt mysensitive.file --output-file mumblerumble.file
then the program asks interactively for a password)
$ ls
mysensitive.file mumblerumble.file

So I get one file that may look like junk. I tried to search how to do it with GnuPG. But it seems that GnuPG needs much configuration I dont want to do. I simply want to type the password one time to get the file. It doesnt need to retain any configuration for what I want to do. In similar scenario, I would want to do this on a machine/account that is not mine.

View 7 Replies


ADVERTISEMENT

Ubuntu :: How To Encrypt A Single File In 10.04

Jul 5, 2010

How do I go about encrypting a file in Ubuntu 10.04?

View 9 Replies View Related

General :: Crypt() Perl Function To Encrypt Password In Shell Scripts Or Encrypt Passwords?

Jan 8, 2010

I Have shell script like this

Code:
#!/usr/bin/expect
set password "XXXXXXXX"

[code]...

View 13 Replies View Related

General :: Command - Encrypt A File Or Directory?

Feb 23, 2011

What 's the most popular command to do such things in terminal in linux?

View 4 Replies View Related

General :: Encrypt Full Partition Instead Of Creating A File And Encrypting It?

Jan 8, 2010

I want to encrypt Full partition instead of creating a file and encrypting it, and also want to move this disk to another server. do i need some files also (that hold keys) with my self on new server. i am using FC11.

View 2 Replies View Related

General :: How To Flatten Single File Directories

May 1, 2011

I've spent ages trying to build this and had a good look around for a way to do it. I have a directory tree which contains a set of folders and files. Some of the folders contain more than one file but most contain only a single one. I'm trying to move all of the files which are on their own in directories one level below the root into the root. E.g:

Root is: /volume3
Single file in a sub folder: /volume3/20110103/20110103.log
File should end up as: /volume3/20110103.log

I know how to flatten the entire structure fairly easily but its the conditional part which I can't figure out how to do.

View 1 Replies View Related

Ubuntu :: Encrypt The File List Too?

May 19, 2010

I use this line to line to archive and password protect my files (with zero compression):7z a -p -t7z -mx0 ~/Documents.7z ~/Documents In the attached picture, I notice there is a check box to 'Encrypt the file list too' via the GUI 7z method. How could I add this option to the above 7z line?

Also I think rar allows you to 'Encrypt the file list too'. Could someone also give me a rar line similar to 7z a -p -t7z -mx0 ~/Documents.7z ~/Documents but that has the 'Encrypt the file list too' feature added?

View 3 Replies View Related

General :: Resume Transferof A Single File By Rsync?

Sep 25, 2010

I want to copy a big file from my harddrive to a removable drive by rsync. For some other reason, the operation cannot complete in a single run. So I am trying to figure out how to use rsync to resume file copying from where was left last time.

I have tried use the option --partial or --inplace, but together with --progress, I found rsync with --partial or --inplace actually starts from the beginning instead of from what was left last time. Mannually early stopping rsync and checking the size of the received file also confirm what I found.

But with --append, rsync starts from what was left last time. I am confused as I saw on the manpage --partial, --inplace or --append seem to relate to resuming copying from what was left last time. Is someone able to explain their difference? Why --partial or --inplace do not work for resuming copying? Is it true that for resuming copying, rsync has to work with option --append?

Also if a partial file was left by mv or cp not by rsync, will rsync --append correctly resume the file copying?

View 1 Replies View Related

General :: Upload A Single File To FTP Server From Ubuntu?

Aug 15, 2011

I need to upload a single file to FTP server from Ubuntu. This operation should be done in a script (in non-interactive mode). What is the right syntax for ftp?

I'm trying this, to no avail:

$ ftp -u ftp://user:secret@ftp.example.com my-local-file.txt
ftp: Invalid URL `ftp://'

View 2 Replies View Related

General :: Show The Output Of Several Vi Files In A Single File?

Jan 3, 2011

i have 10 vi files . these files contain some system related information. i need to combine the output of all these files into a single file. the final file should contain contents of all these 10 files and the output should be in a tabular format.

is there any command in vi that i can use to create a table ?

View 9 Replies View Related

General :: Join Different Pages From Different Pdf Files Into Single Pdf File?

Apr 13, 2010

i have started using linux for less than 6 months. now i have come across a problem with pdf files in linux. i want to join different pages from different pdf files into single pdf file.i have come across softwares that do this but they perform this using page numbers from pdf files.but i need to do this based on keywords in different pages .for eg there 3 pdf files

india.pdf
contents:languages
.........
........
places
......
......
achievments
......
[Code]....

now i have to create a pdf file langunage.pdf ,combining the topic languanges from three pdf files america.pdf,india.pdf,china.pdf how can i do it?? whether there is any open source software for doing this?.

View 3 Replies View Related

General :: Archive All Files To One Single File In Every 30 Days?

Apr 12, 2010

I have a directory there are many files are writing to it , I would like to write a script to do that , can please provide the advise .

archive all files to one single file in every 30 days , and then remove these old files .

View 9 Replies View Related

Server :: OpenSSL - Encrypt Zip File With SSL Keys?

Feb 25, 2010

I would like to encrypt and decrypt zip file using OpenSSL keys. I have generated the keys and can encrypt normal text files but if I try to encrypt the zip file, I get error: "Error reading input Data" Following is what I have done.

generate keys:

Code:

openssl genrsa 4096 > private-key.pem
openssl rsa -pubout < private-key.pem
openssl rsa -pubout < private-key.pem > public-key.pem

encrypt the file:

Code:

openssl rsautl -encrypt -pubin -inkey public-key.pem -in test.zip test.zip.encrypted

I must use public/ private key pair (without any password) and I must use OpenSSL. But I can use any algorithm other than RSA (not sure which one to use and how).

View 3 Replies View Related

General :: Download A Single File In 2 Parts To Different Locations Using Wget?

Jan 18, 2011

I need to use wget (or curl or aget etc) to download a file to two different download destinations by downloading it in two halves:

First: 0 to 490000 bytes of file
Second: 490001 to 1000000 bytes of file.

I will be downloading this to separate download destinations and will merge them back to speed up the download. The file is really large and my ISP is really slow, so I need to get help from friends to download this in parts (actually in multiple parts)

The question below is similar but not the same as my need: How to download parts of same file from different sources with curl/wget?

aget

aget seems to download in parts but I have no way of controlling precisely which part (either in percentage or in bytes) that I wish to download.

Extra Info

Just to be clear I do not wish to download from multiple locations, I want to download to multiple locations. I also do not want to download multiple files (it is just a single file). I want to download parts of the same file, and I want to specify the parts that I need to download.

View 1 Replies View Related

General :: Copy A File To All Subfolders In A Directory Using A Single Command?

Jul 18, 2010

I'd like to copy a file, say widgets/water.txt, to all subfolders in the folder widgets using a single command. So if the folder widgets has 10 subfolders like widgets/blue, widgets/green, etc. I'd like to copy water.txt to all of them with one command.

I tried the commands

Code:

cp water.txt ./*/water.txt
cp water.txt ./*/

However these don't seem to work. The latter gives 'cp: omitting directory' errors.

View 7 Replies View Related

General :: Multiple Grep Outputs Appended To Single Row Of CSV File?

Sep 12, 2010

how to update a series of values from multiple grep commands outputs to be appended to a single row of a csv file? Work on a linux envir. The values from grep output will be numeric values.

Output sold look like:

1,3,4,5,7,0,5

Each of these values will be odtained from multiple grep commands piped with wc -l Is it possible to update a single row of a csv file if so pleas ehelp me with the command to be used to redirect the output into the csv file

View 5 Replies View Related

General :: Xfce: Save Page As: Single File Vs Multiple Files?

Nov 28, 2010

I am using Xfce as the desktop enviroment and Mozilla Firefox as the webrowser. Within the webrowser window, I do File>Save Page As. I save it, and the result is almost always foo.html and directory foo_files. But I think under KDE I could choose the format, one of them being something like "Single page" (only one file; the colecction of .png, etc is embedded into that file). And this is the format I want Xfce (or Firefox) to use when downloading to hdd.

View 1 Replies View Related

Fedora Security :: Encrypt Ext3 / Ext4 File System?

Jan 6, 2011

I want encrypt my fedora file system.
How to i can encrypt ext3 or ext4 file system.

View 5 Replies View Related

Security :: Encrypt Entire File System - Fedora 11 64bit?

Jul 11, 2009

I recently installed Fedora 11 64bit and I am curious about encrypting my entire file system for security purposes. I've been on Google for a while now and I keep finding info on how to encrypt a specific folder or home directories but nothing on the entire file system (or I'm missing something big here). It's hard for me to imagine that it isn't. If so, do I need to encrypt the partition my file system is on before installing it? What software should I use? There seems to be so many, it's difficult to keep them all straight.

View 5 Replies View Related

General :: Single Click To Activate Items - Gnome - File Locate Dialog

Jan 21, 2010

I have changed the preference in the Nautilus file manager/browser to "Single click to activate items" and it works.

However, when I run an application, say Totem Movie Player, and select Movie/Open I am presented with a Nautilus like file navigation dialog. This is a common dialog to most Gnome applications - probably part of Gnome. Problem is, the dialog does not respect my "single click..." preference.

I have tested this in Ubuntu 9.10, 10.04 alpha 2 and CentOS 5.4 - I do not think it is distribution related.

View 2 Replies View Related

Ubuntu Security :: Cross Platform File Encrypt/decrypt Software?

Feb 15, 2010

I want to be able to encrypt files on my netbook with Ubuntu 9.04 UNR and on my MacBook (Mac OS 10.6.2) and be able to exchange them and decrypt them on the other platform.The Ubuntu command Edit>Encrypt is so easy to use but works only on the netbook. I haven't, thus far, found a program to open them on the Mac or to create an encrypted file on the Mac that I can open on the netbook.

View 3 Replies View Related

Server :: Multiple File Pointers In A Single File?

Apr 20, 2011

I have files a, b, c and d. They're all relatively large and are served up by a static web server optimized for this purpose. I can get requests that look like this:

/abcd
/ad
/bacdac
...

Each request is basically a request for a concatenation of the files in the order of the letters. The list of possible requests is finite, but large enough that disk space will run out very quickly and be very expensive if I create all possible files via concatenation.Is there a way to create a pointer file like abcd that is essentially a multi-file symlink that first points to a then to be then to c then to d? So if the contents of the files were as follows:

a: hello
b: there
c: whats

[code]....

View 3 Replies View Related

General :: Copy A Read-Only File And Make The Copy Writable With A Single Cp Command?

Mar 1, 2011

How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).

More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.

View 1 Replies View Related

General :: Encrypt The Sessions In Red Hat 4.2

Feb 15, 2010

How to encrypt the sessions in red hat 4.2.

View 4 Replies View Related

General :: Encrypt A Shell Script?

Aug 23, 2010

is there any good way to encrypt a bash script to make no one view its contents & so cant edit it

View 14 Replies View Related

Fedora :: GnuPG "File Encrypt" Option Appears In Dolphin And Konquorer But Not In Nautilus?

Dec 5, 2008

how to get a right click option to encrypt a file in nautilus. Per the subject line, right click works ok in the other two applications but doesn't seem to have integrated into nautilus. (both KGpg and Seahorse are installed and each seems to work correctly).

View 1 Replies View Related

General :: Encrypt And Decrypt Password In Profile?

Jul 27, 2011

How do i encrypt & decrypt password in a file for security reason ? is there any shell scripts available to do the same?

OS : aix 5.3

View 3 Replies View Related

Ubuntu Security :: Right Click - Automatically Get The Encrypt Process To Delete The Un-encrypted File When It Makes The New Encrypted Copy?

Jan 5, 2010

I've just started using ubuntu one. However, some of the files I store on there are sensitive so I encrypt them using seahorse. Right click, encrypt etc etc. My question is, is there a way to automatically get the encrypt process to delete the un-encrypted file when it makes the new encrypted copy?

View 6 Replies View Related

General :: Encrypt An Existing Partition While Preserving Its Data?

Nov 30, 2010

If I have a partition like /dev/hd1 that is unencrypted and want it to be encrypted, but want to keep everything currently in that partition, how can I do that?

View 2 Replies View Related

General :: Program To Encrypt Folders That Works In Windows

Jan 18, 2011

I'm using a crypt solution called DriveCrypt(for windows). But now I need a solution that does the same that DriveCrypt does but must to work in both Windows and Linux.Somebody know some software that works in Linux and Windows to encrypt folders?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved