Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rsyncrypto_recover(1) [debian man page]

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)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

delete lines from a file.

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)
Discussion started by: oracle8
5 Replies

2. Shell Programming and Scripting

delete records from a file

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)
Discussion started by: dsravan
6 Replies

3. Shell Programming and Scripting

Identify records having junk characters in unix

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)
Discussion started by: sureshg_sampat
6 Replies

4. Shell Programming and Scripting

Delete Duplicate records from a tilde delimited file

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)
Discussion started by: irshadm
5 Replies

5. UNIX for Dummies Questions & Answers

Use records from one file to delete records in another file

file_in_1: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 file_in_2: 9 10 11 12 21 22 23 24 1 2 3 4 17 18 19 20 file_out: (5 Replies)
Discussion started by: kenneth.mcbride
5 Replies

6. Shell Programming and Scripting

dd command

Hi! Is there a way I can use the dd command without seeing the messages: 1+0 records in 1+0 records out Thanks!! (6 Replies)
Discussion started by: looza
6 Replies

7. Shell Programming and Scripting

how to delete records with the given line numbers

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)
Discussion started by: mad_man12
5 Replies

8. Shell Programming and Scripting

How to delete corrupted characters and then do fuzzy searches?

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)
Discussion started by: Bashingaway
5 Replies

9. UNIX for Dummies Questions & Answers

How to get new line in text file?

Hi , I have text file and i'm not getting new line after the end of records. Please help me with unix command.. (6 Replies)
Discussion started by: Abhisrajput
6 Replies

10. Shell Programming and Scripting

Delete the records from table

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)
Discussion started by: zxcjggu708
5 Replies

11. Shell Programming and Scripting

How to remove alphabets/special characters/space in the 5th field of a tab delimited file?

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)
Discussion started by: Srithar
12 Replies

12. UNIX for Advanced & Expert Users

Split one file to many based on pattern

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)
Discussion started by: deal1dealer
9 Replies

13. UNIX for Dummies Questions & Answers

After Ftp'ing file to destination how to check the file if it is in correct ASCII and not corrupted

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)
Discussion started by: Khan28
6 Replies

14. Shell Programming and Scripting

Delimited records splitted into different lines

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)
Discussion started by: ginrkf
13 Replies

15. UNIX for Beginners Questions & Answers

Delete records that do not belong to that day

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)
Discussion started by: Priya
6 Replies