Hi,
I am trying to find out the original file size of an encrypted file in SunOS.
The file was decrypted with gpg command.
I want to know the size of the orginal file without decrypting it. I am using the below command, but it is not working for big files(more than 1 GB).
Please help me to find the size of original files without decrypting the data as ther are many files.
Thanks,
Vipin
Moderator's Comments:
Please wrap all code, files, input & output/errors in CODE tags.
it makes it easier to read and preserves multiple spaces for indenting or fixed-width data.
Last edited by rbatte1; 07-17-2017 at 12:26 PM..
Reason: Code tags
Hi,
Can somebody PLEASE help me.
Suppose I want to find a file which has largest no of bytes in a particular directory, How do i do that.
ls -s will give the size of Blocks.
But I want the largest sized file and in bytes or KB OR MB.
tHANKS IN advanvce.
Bye
Rooh
:( (1 Reply)
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Hi,
I have to directory
/usr/inbound
-------------
10900.txt
10889.txt
109290202.txt
I need to create inbound directory
and i need to know size of these files one by one
if file size is zero i need to print message like "empty file"
Please help me how to solve this
thanks
krish. (4 Replies)
Hi All...
is the below command be modified in sucha way that i can get the file size along with the name and path of the file
the below command only gives me the file location which are more than 100000k...but I want the exact size of the file also..
find / -name "*.*" -size +100000k
... (3 Replies)
#!/bin/sh
##########################################################################################################
#This script is being used for AOK application for cleaning up the .out files and zip it under logs directory.
# IBM
# Created
#For pdocap201/pdoca202 .out files for AOK
#1.... (0 Replies)
Hi Unix gurus,
Maybe it is too much to ask for but please take a moment and help me out. A very humble request to you gurus. I'm new to Unix and I have started learning Unix. I have this project which is way to advanced for me.
File format: CSV file
File has four columns with no header... (8 Replies)
Hi,
I don't have enough space on my Unix Box. So, I can't unzip the file and check the size of the file. So, I need to know, Is there any command, to check, how much the unzipped file takes after unzipping. Thanks in Advance. (4 Replies)
Hi,
I have a process which creates files and gzip all the files.
Next day, i need to get the file sizes ( before zip size ) of all the gzipped files. Is there any way i can get the original file sizes of gzipped files.
Gunzipping the files, getting the file size and gzipping again is not the... (6 Replies)
Hello All,
Is there a way to determine how many public keys are embedded or used to encrypt in a GPG file with out decrypting the actual encrypted file. I know i can see the keys & email id's used when we decrypt it, but curious to find a command if any to know with out decrypting the actual file... (2 Replies)
Discussion started by: Ariean
2 Replies
LEARN ABOUT DEBIAN
cryptdir
CRYPTDIR(1) General Commands Manual CRYPTDIR(1)NAME
cryptdir - encrypt/decrypt all files in a directory
SYNOPSIS
cryptdir [ dir ]
decryptdir [ dir ]
INTRODUCTION
cryptdir encrypts all files in the current directory (or the given directory if one is provided as an argument). When called as decryptdir
(i.e., same program, different name), all files are decrypted.
NOTES
When encrypting, you are prompted twice for the password as a precautionary measure. It would be a disaster to encrypt files with a pass-
word that wasn't what you intended.
In contrast, when decrypting, you are only prompted once. If it's the wrong password, no harm done.
Encrypted files have the suffix .crypt appended. This prevents files from being encrypted twice. The suffix is removed upon decryption.
Thus, you can easily add files to an encrypted directory and run cryptdir on it without worrying about the already encrypted files.
BUGS
The man page is longer than the program.
SEE ALSO
"Exploring Expect: A Tcl-Based Toolkit for Automating Interactive Programs" by Don Libes, O'Reilly and Associates, January 1995.
AUTHOR
Don Libes, National Institute of Standards and Technology
1 January 1993 CRYPTDIR(1)