03-09-2003
the .txt extension is not really needed. you can open the same file with notepad in windows regardless of it having the .txt extension or not. and since this person is only trying to move the files between the two systems the only thing needed will be to remove the CRs.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do i copy a file from solaris to a floppy drive. today is my first day using solaris (3 Replies)
Discussion started by: parksr
3 Replies
2. UNIX for Advanced & Expert Users
hello ,
i have sun sparc machine with sunos2.7 , the machine has a cdrom but no floppy drive , it is networked with windows machine , from where i can use ftp and telnet.
can i use floppy drive of windows machine and create a boot image(of unix) on that drive, using ftp?
thanx
raju (4 Replies)
Discussion started by: raju
4 Replies
3. UNIX for Dummies Questions & Answers
HI, I installed Suse 8.1 on an Emachine with a Cyrix processor equivelent to Pentium II. The dmesg reveals that the floppy was recognised, and there is an icon on the desktop for it, but when I trey to access it, it is not available.
If I access it from a terminal window, the error I get... (7 Replies)
Discussion started by: Sonshyne5
7 Replies
4. Filesystems, Disks and Memory
For some reason I cannot get my UNIX box on my network so I have no way of tranferring files from it or to it. Does anyone.....anyone know how I redirect my output or write to the floppy? (2 Replies)
Discussion started by: jlrusso
2 Replies
5. UNIX for Dummies Questions & Answers
i manage to screw up alittle
i entered in /etc/fstab
mount /dev/fd0 msdos /mnt/floppy 2 2 or something
and now when i boot i get an error like this
The following file systems had an unexpected inconsistency:
msdos: /dev/fd0 (/mnt/floppy)
Unknown error; Help!
init: /bin/sh on /etc/rc... (3 Replies)
Discussion started by: ekizz
3 Replies
6. UNIX Desktop Questions & Answers
I have two Digital boxs... vintage mid90's
OS DEC Unix...
I need to write an ASCII file to the floppy drive for transfer to a Windows box. The boxes are isolated. No email, no internet, no network... except between each other. A primary and a backup.
I examined /dev and found two... (2 Replies)
Discussion started by: ChrisCram
2 Replies
7. UNIX for Dummies Questions & Answers
If I need to copy files in Unix to a floppydisk so that the disk is compatible with extended FAT16 and can be read by Windows XP-Do I mount the floppy disk to use ufs? (2 Replies)
Discussion started by: Rhonda
2 Replies
8. UNIX for Dummies Questions & Answers
How can we install usb floppy drive in SCO 5.0.6 (1 Reply)
Discussion started by: irshad ishaque
1 Replies
9. HP-UX
Hello Everyone,
Has anyboby ever come across the problem when fd refuses to get initialised. I try to use mediainit command, the fd is being accessed (the fd's LIT is green for some secs) but then I get the message - "Initialize media command failed - permission denied" I checked the diskette,... (1 Reply)
Discussion started by: Andrey Malishev
1 Replies
10. UNIX for Dummies Questions & Answers
Regarding floppy drive ..
I need a command or a method by which i can detect a floppy drive is present or not ?
Thanks,
Priya. (4 Replies)
Discussion started by: priyam
4 Replies
LEARN ABOUT REDHAT
mac2unix
dos2unix(1) General Commands Manual dos2unix(1)
NAME
dos2unix - DOS/MAC to UNIX text file format converter
SYNOPSYS
dos2unix [options] [-c convmode] [-o file ...] [-n infile outfile ...]
Options:
[-hkqV] [--help] [--keepdate] [--quiet] [--version]
DESCRIPTION
This manual page documents dos2unix, the program that converts plain text files in DOS/MAC format to UNIX format.
OPTIONS
The following options are available:
-h --help
Print online help.
-k --keepdate
Keep the date stamp of output file same as input file.
-q --quiet
Quiet mode. Suppress all warning and messages.
-V --version
Prints version information.
-c --convmode convmode
Sets conversion mode. Simulates dos2unix under SunOS.
-o --oldfile file ...
Old file mode. Convert the file and write output to it. The program default to run in this mode. Wildcard names may be used.
-n --newfile infile outfile ...
New file mode. Convert the infile and write output to outfile. File names must be given in pairs and wildcard names should NOT be
used or you WILL lost your files.
EXAMPLES
Get input from stdin and write output to stdout.
dos2unix
Convert and replace a.txt. Convert and replace b.txt.
dos2unix a.txt b.txt
dos2unix -o a.txt b.txt
Convert and replace a.txt in ASCII conversion mode. Convert and replace b.txt in ISO conversion mode. Convert c.txt from Mac to Unix
ascii format.
dos2unix a.txt -c iso b.txt
dos2unix -c ascii a.txt -c iso b.txt
dos2unix -c mac a.txt b.txt
Convert and replace a.txt while keeping original date stamp.
dos2unix -k a.txt
dos2unix -k -o a.txt
Convert a.txt and write to e.txt.
dos2unix -n a.txt e.txt
Convert a.txt and write to e.txt, keep date stamp of e.txt same as a.txt.
dos2unix -k -n a.txt e.txt
Convert and replace a.txt. Convert b.txt and write to e.txt.
dos2unix a.txt -n b.txt e.txt
dos2unix -o a.txt -n b.txt e.txt
Convert c.txt and write to e.txt. Convert and replace a.txt. Convert and replace b.txt. Convert d.txt and write to f.txt.
dos2unix -n c.txt e.txt -o a.txt b.txt -n d.txt f.txt
DIAGNOSTICS
BUGS
The program does not work properly under MSDOS in stdio processing mode. If you know why is that so, please tell me.
AUTHORS
Benjamin Lin - <blin@socs.uts.edu.au>
Bernd Johannes Wuebben (mac2unix mode) <wuebben@kde.org>
MISCELLANY
Tested environment:
Linux 1.2.0 with GNU C 2.5.8
SunOS 4.1.3 with GNU C 2.6.3
MS-DOS 6.20 with Borland C++ 4.02
Suggestions and bug reports are welcome.
SEE ALSO
unix2dos(1) mac2unix(1)
1995.03.31 dos2unix v3.0 dos2unix(1)