Sponsored Content
Full Discussion: Converting .dat to UNIX
Homework and Emergencies Homework & Coursework Questions Converting .dat to UNIX Post 303037520 by RudiC on Sunday 4th of August 2019 03:10:25 AM
Old 08-04-2019
I don't think we're dealing with "converting sth. to UNIX". .dat files usually are binary files with an underlying structure understood (more or less) only by the creating and consuming application(s). They are not text files. dos2unix does not apply / do any valuable work. In contrary, it will garble the data.



So, a binary transfer is a must, and on the receiving side an apt application should read, evaluate, and use the binary data. You may want to (binary) compare files before and after transfer.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Back-up Commands For Hp-unix (hp Surestore Dat 24)

Can Anyone Be Any Assistance To Help A New User Get His Back-up Commands Defined Along With Other Useful Information On Viewing What's On Tapes And Restoring Data From The Tapes. (0 Replies)
Discussion started by: ricjoh
0 Replies

2. Shell Programming and Scripting

How to read from a .dat file in Unix

Hi All, I have a .dat file named test.dat where I have stored some process IDs. Now I need to pick a process ID, one by one and then fire kill -9 for each of those. The logic should be: 1. open file <filename.dat> 2. read until last line of file 3. if process ID is found fire kill -9... (5 Replies)
Discussion started by: Sibasish
5 Replies

3. UNIX for Dummies Questions & Answers

How do I delete a data string from a .dat file in unix

I have a .dat file in unix and it keeps failing file validation on line x. How do I delete a data string from a .dat file in UNIX? I tried the following: sed -e 'data string' -e file name and it telling me unrecognized command (4 Replies)
Discussion started by: supergirl3954
4 Replies

4. SCO

SCO UNIX DAT Tape Device

Looking for specifically naming convention for a tape device for SCO Unix What full system backup command should I use for SCO UNIX (1 Reply)
Discussion started by: jedimaster
1 Replies

5. Shell Programming and Scripting

How to add spaces to test.dat file in unix??

Hi I have a test.dat file in UNIX which has a data.I am informatica developer i get data in those files.I need to add 50 spaces to those data in test.dat file.I am new to unix So can any one help how can i do that. I have some 2088 rows in that test.dat file. Can anyone help me please its... (11 Replies)
Discussion started by: karingulanagara
11 Replies

6. UNIX and Linux Applications

Seismic Unix convert .dat to .su

Hello, is here anybody who know How I convert the .dat format files to .su format files in SeismicUnix. Is it possible? The dat-format files was generated when I run the forel's script, like model1.sh . Thanks a lot Vianney (1 Reply)
Discussion started by: vianney
1 Replies

7. Shell Programming and Scripting

Remove <CR><LF> from the dat file in unix

Hi, The source system has created the file in the dat format and put into the linux directory as mentioned below. I want to do foloowing things. a) Delete the Line started with <CR><LF> in the record b)Also line ...........................................................<CR><LF> ... (1 Reply)
Discussion started by: mr_harish80
1 Replies

8. Shell Programming and Scripting

Date format change in UNIX .dat file

Hi, I need help to convert the date format in .DAT file in unix. I want to convert 10@@|SWIFT MT568 Extract@@|Apr 14 2014 5:47:52:563PM@@|Apr 14 2014 4:33:47:663PM@@||##| into 10@@|SWIFT MT568 Extract@@|04/14/2014/ 5:47:52:563PM@@|04/14/2014 4:33:47:663PM@@||##| Appreciate... (18 Replies)
Discussion started by: karthikengox
18 Replies

9. Shell Programming and Scripting

Help with Getting distinct record count from a .dat file using UNIX command

Hi, I have a .dat file with contents like the below: Input file ============SEQ NO-1: COLUMN1========== 9835619 7152815 ============SEQ NO-2: COLUMN2 ========== 7615348 7015548 9373086 ============SEQ NO-3: COLUMN3=========== 9373086 Expected Output: (I just... (1 Reply)
Discussion started by: MS06
1 Replies

10. Shell Programming and Scripting

How to use 'ls' command to list files like *.dat, not *.*.dat?

How to use 'ls' command to list files like *.dat, not *.*.dat (5 Replies)
Discussion started by: pmcginni777
5 Replies
umodem(1)						      General Commands Manual							 umodem(1)

NAME
umodem - XMODEM-protocol file transfer program SYNOPSIS
[options] files ... DESCRIPTION
is a file transfer program that incorporates the well-known XMODEM protocol used on CP/M systems and on the HP 110 portable computer. Options recognizes the following options and command-line arguments: (one) Employ TERM II FTP 1. Enable TERM FTP 3 (CP/M UG). Enable 7-bit transfer mask. Turn on ARPA Net flag. Enter command mode. Do not delete before starting. (ell) Turn on entry logging. Allow overwriting of files. Print all messages. Receive file. Specify for text, or for binary. Send file. Specify for text, or for binary. Display file status only. files Name of file or files to be transferred. WARNINGS
When a binary file is transferred, the target file may have some extra bytes added at the end. This is due to the limitation of the under- lying protocol. EXAMPLES
Receive a text file: Receive a binary file: Send a text file: Send a binary file: AUTHOR
is in the public domain. SEE ALSO
cu(1), kermit(1), uucp(1). umodem(1)
All times are GMT -4. The time now is 09:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy