RSYNCRYPTO_RECOVER(1) Rsyncrypto_recover User Manual RSYNCRYPTO_RECOVER(1)NAME
rsyncrypto_recover - recover all usable data from corrupted rsyncrypto filemaps
SYNOPSIS
rsyncrypto_recover badfile > goodfile
DESCRIPTION
This manual page documents the rsyncrypto_recover command.
When the rsyncrypto command is used with the --name-encrypt command, a file containing the mapping from the plain text representation to
the encrypted file names is formed. This file mapping has a strict format of records delimited by a NULL byte.
A bug introduced in version 1.07 or rsyncrypto, and solved in version 1.09, caused this file to be somewhat corrupted under certain circum-
stances, most notably the use of the --delete-keys command line option.
It is important to note that the only records corrupted are records that were due to be deleted anyways. This bug did not result in any
loss of actual important data. It did, however, leave behind a file that rsyncrypto then refused to open.
rsyncrypto_recover will read in a file map, and output to the standard output only those records that are valid.
PARAMETERS
badfile
A file map that contains some good and some corrupted records.
SEE ALSO rsyncrypto(1)AUTHOR
rsyncrypto was written by Shachar Shemesh for Lingnu Open Source Consulting ltd. http://www.lingnu.com
This manual page was written by Shachar Shemesh <shachar@debian.org>
PROJECT HOMEPAGE
http://rsyncrypto.lingnu.com
Lingnu Open Source Consulting May 13, 2008 RSYNCRYPTO_RECOVER(1)
Check Out this Related Man Page
RECFIX(1) User Commands RECFIX(1)NAME
recfix - check a recfile for errors
SYNOPSIS
recfix [OPTION]... [OPERATION] [OP_OPTION]... [FILE]
DESCRIPTION
Check and fix rec files.
-t, --type=TYPE
process only records of the given type.
--no-external
don't use external descriptors.
--force
force the requested operation.
--help print a help message and exit.
--version
show version and exit.
Operations:
--check
check integrity of the specified file. Default.
--sort sort the records in the specified file.
--auto insert auto-generated fields in records missing them.
--encrypt
encrypt confidential fields in the specified file.
--decrypt
decrypt confidential fields in the specified file.
De/Encryption options:
-s, --password=PASSWORD
encrypt/decrypt with this password.
If no FILE is specified then the command acts like a filter, getting the data from standard input and writing the result to standard out-
put.
AUTHOR
Written by Jose E. Marchesi.
REPORTING BUGS
Report bugs to: bug-recutils@gnu.org
GNU recutils home page: <http://www.gnu.org/software/recutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
COPYRIGHT
Copyright (C) 2010, 2011, 2012 Jose E. Marchesi. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for recfix is maintained as a Texinfo manual. If the info and recfix programs are properly installed at your site,
the command
info recfix
should give you access to the complete manual.
recfix 1.4.93 January 2012 RECFIX(1)
I have a file which has about 500K records and I need to delete about 50 records from the file. I know line numbers and am using
sed '13456,13457,......d' filename > new file.
It does not seem to be working.
Any help will greatly appreciated. (5 Replies)
I have a big file with "|" delimiter. I want to delete all the records that have 'abc' in the 2nd field. How can i do that? I am not abe to open it in VI that is why i need to do it from outside. Please suggest (6 Replies)
Hi Friends,
I need to have a command in Unix which output all teh records havingg junk characters in a file....
I know a command cat -tv <Filename> which opens the file and we can check for any junk character in it.
But my requirement is to fetch ONLY THOSE records having junk characters.... (6 Replies)
Hi All,
I want to delete duplicate records from a tilde delimited file. Criteria is considering the first 2 fields, the combination of which has to be unique, below is a sample of records in the input file
1620000010338~2446694087~0~20061130220000~A00BCC1CT... (5 Replies)
I have a file which has about 10000 records and I need to delete about 50 records from the file. I know line numbers and am using
sed '134,1357,......d' filename > new file.
It does not seem to be working.
Please Advice (5 Replies)
Hi All
I have a whole block of pages that have come in from various sources, unfortunately the pages in many instances have blocks of corrupted text. What I'm trying to do is write a sed line that will just delete non alphanumeric characters if they're in a block of say three or four... (5 Replies)
Hi,
Can any one help me...
the records are not deleting when I run the below script.
But if I issue the same delete command manually, the records are getting deleted.
script:
#!/bin/ksh
USAGE_STRING="USAGE $0 "
if
then
echo "SORRY you need to be user 'mqm'. Only 'mqm' has... (5 Replies)
Thank you for 4 looking this post.
We have a tab delimited file where we are facing problem in a lot of funny character. I have tried using awk but failed that is not working.
In the 5th field ID which is supposed to be a integer only of that file, we are getting corrupted data as below.
I... (12 Replies)
Hello All,
I have records in a file in a pattern A,B,B,B,B,K,A,B,B,K
Is there any command or simple logic I can pull out records into multiple files based on A record? I want output as
File1: A,B,B,B,B,K
File2: A,B,B,K (9 Replies)
Hi Folks,
While transferring file from FTP software like Filezilla the files gets corrupted.
Is there any way I can check if the recently transferred file is in ASCII and not corrupted. I have tried using file -i filename command which does tell if the file character set is ASCII or binary... (6 Replies)
Hi
I am using delimited sequence file. Delimter we are using is pipe .But for some of the records for one of the column the values are getting split into different lines as shown below
"113"|"0155"|"2016-04-27 07:59:04"|"1930"|"TEST@TEST"|"2016-04-27 11:04:04.357000000"|"BO"|"Hard... (13 Replies)
i have a requirement to delete records that do not belong to that day. For example in a file that came on July 31st ,2018 there are records that belong to Aug 1st,2018 as well and I want to find and delete those records. I want to delete anything with 01-Aug-2018. I have several files like that. I... (6 Replies)