04-29-2004
encrypting Unix flatfile
Hi,
I am new to unix. I have a flat file that needs to be pgp encyrpted in ASCII format and ftped in Ascii format to remote location.
Can any one tell me the steps involved in the pgp encryption of the unix file. I will really appreciate if any one can help me with the pgp encryption shell script.
Thanks
Raj
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a file which is fixed width columns. This is an offset buffer - rather than space or tab delimited. There are upto about 8 columns and I need to get all of the column 5's values into another file.
The problem is that because the delimiter is a space - and some fields are blank - the 5th... (3 Replies)
Discussion started by: peter.herlihy
3 Replies
2. Shell Programming and Scripting
Hey guys, I was given a task that involved parcing a large file that looked somthing like this...
A1-0999999,SMITH,.25
A1-0999999,JOHN,.75
A1-0999999,HELMET,.1.25
A1-0999999,HOOP,.10.25
D1-1212121,SMITH,4.00
D1-1212121,TH,9.00
D1-1212121,MITCH,10.20
D1-1212121,RETAL,3.00
A1-9909555,,3.00... (2 Replies)
Discussion started by: djsal
2 Replies
3. Shell Programming and Scripting
Hi,
I need to check a flatfile for various parameters like length of the record, format of record, any tab character present in the record etc.,
for checking presence of tab character, i'm trying to use the following code and i'm not sure if the same is right. Pls Help.
nawk '{print... (1 Reply)
Discussion started by: aravindc
1 Replies
4. Shell Programming and Scripting
I have a set of flatfiles which have columns delimited by #. How can a particular column be deleted in all the flatfiles. All flatfiles have same number of columns. (5 Replies)
Discussion started by: rsprabha
5 Replies
5. Shell Programming and Scripting
Hi All,
Can Anyone please tell me,how can I delete a line from a file.
I am reading the file line by line using whil loop and validating each line..Suppose in the middle i found a particular line is invalid,i need to delete that particular line.
Can anyone please help.
Thanks in advance,... (14 Replies)
Discussion started by: dinesh1985
14 Replies
6. Shell Programming and Scripting
I have a small script where I want to see if a file exists & then delete the first line from it.
I have code to help me find if the file exists, but I am unsure as to how to then take in the answer and remove the first line from the flatfile:
This is what I have so far just to output if the... (3 Replies)
Discussion started by: fatalxkiss
3 Replies
7. UNIX for Advanced & Expert Users
Hi,
I have the below script to check the count of delimeters for a file (here is File : test.csv Delimeter is ",")
awk '{gsub(/"*"/,x);print gsub(/,/,x)}' test.csv
And it return the output for each line as:
2
2
cat test.csv:
abc,xyz
"abc,zxyz",1
I need help one the below things:
- IS... (8 Replies)
Discussion started by: venkatajay_18
8 Replies
8. Shell Programming and Scripting
Hi,
I am writing one unix script to get row count of few tables into one sequential file
my script is like this
$ORACLE_HOME/bin/sqlplus -s <<EOF >output.txt
userid/password@databasename
set verify off
set heading off
set feedback off
select count(*) count from tablel where ;
select... (4 Replies)
Discussion started by: spmsarada
4 Replies
9. Shell Programming and Scripting
Hi all,
I am trying to generate an XML file from a flatfile in ksh/bash (could also use perl at a pinch, but out of my depth there!).
I have found several good solutions on this very forum for cases where the header line in the file forms the XML tags, however my flatfile is as follows:... (5 Replies)
Discussion started by: ianmrid
5 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I'm using the awk command to insert empty columns on a tab delimited flatfile - which works fine -
=> But I'm not able to manage dynamicaly the filename of the awk output based on the source flatfile filename
I have 3 source flatfile:
flatfile_Jan-2016.csv
flatfile_Feb-2016.csv... (3 Replies)
Discussion started by: Tipiak
3 Replies
LEARN ABOUT SUSE
ascii-xfr
ASCII-XFR(1) Linux Users Manual ASCII-XFR(1)
NAME
ascii-xfr - upload/download files using the ASCII protocol
SYNOPSIS
ascii-xfr -s|-r [-ednv] [-l linedelay] [-c characterdelay] filename
DESCRIPTION
Ascii-xfr Transfers files in ASCII mode. This means no flow control, no checksumming and no file-name negotiation. It should only be used
if the remote system doesn't understand anything else.
The ASCII protocol transfers files line-by-line. The EOL (End-Of-Line) character is transmitted as CRLF. When receiving, the CR character
is stripped from the incoming file. The Control-Z (ASCII 26) character signals End-Of-File, if option -e is specified (unless you change
it to Cotrol-D (ASCII 4) with -d).
Ascii-xfr reads from stdin when receiving, and sends data on stdout when sending. Some form of input or output redirection to the modem
device is thus needed when downloading or uploading, respectively.
OPTIONS
-s Send a file.
-r Receive a file. One of -s or -r must be present.
-e Send the End-Of-File character (Control-Z, ASCII 26 by default) when uploading has finished.
-d Use the Control-D (ASCII 4) as End-Of-File character.
-n Do not translate CR to CRLF and vice versa.
-v Verbose: show tranfer statistics on the stderr output.
-l milliseconds
When transmitting, pause for this delay after each line.
-c milliseconds
When transmitting, pause for this delay after each character.
file Name of the file to send or receive. When receiving, any existing file by this name will be truncated.
USAGE WITH MINICOM
If you want to call this program from minicom(1), start minicom and go to the Options menu. Select File transfer protocols. Add the fol-
lowing lines, for example as protocols I and J.
I Ascii /usr/bin/ascii-xfr -sv Y U N Y
J Ascii /usr/bin/ascii-xfr -rv Y D N Y
AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl
Jukka Lahtinen, walker@netsonic.fi
SEE ALSO
minicom(1)
$Date: 2006/10/28 14:35:59 $ ASCII-XFR(1)