Sponsored Content
Full Discussion: cp multiple files to fd0
Top Forums UNIX for Dummies Questions & Answers cp multiple files to fd0 Post 10526 by wavy_lay on Thursday 15th of November 2001 05:43:44 PM
Old 11-15-2001
cp multiple files to fd0

Hello all.

I want to copy multiple files to a floppy. My distr. version is Mandrake 8.0.

If i use [ cp file /dev/fd0 ] , all is ok and the file is copied to disk

If i use
[ cp file1 file2 /dev/fd0 ] , I receive an error stating that /dev/fd0 is not a directory. I understand that /dev/fd0 is not a directory.

Is there a way to copy multiple files to the floppy ?

If yes, how would you copy all files in a particular directory to a floppy ?

And if the floppy already contains a file, how can you add another file to the floppy without overwriting the existing files already on it?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

FD0 error code 30

Hi I am new to this forum. Iam facing very strange problem in sco open server 5. when i try to mount the fd0 it just says "fd0 writeprotected, read only error code 30" I changed the floppy drive. even I check the /dev/fd0 permissions it is read and wirte. I changed the floppies also. but... (6 Replies)
Discussion started by: Pritpal singh
6 Replies

2. UNIX for Dummies Questions & Answers

Using AWK: Extract data from multiple files and output to multiple new files

Hi, I'd like to process multiple files. For example: file1.txt file2.txt file3.txt Each file contains several lines of data. I want to extract a piece of data and output it to a new file. file1.txt ----> newfile1.txt file2.txt ----> newfile2.txt file3.txt ----> newfile3.txt Here is... (3 Replies)
Discussion started by: Liverpaul09
3 Replies

3. Shell Programming and Scripting

awk, multiple files input and multiple files output

Hi! I'm new in awk and I need some help. I have a folder with a lot of files and I need that awk do something in each file and print a new file with the output. The input file name should be modified when I print the outpu files. Thanks in advance for help! :-) ciao (5 Replies)
Discussion started by: gabrysfe
5 Replies

4. Shell Programming and Scripting

Column extraction from multiple files to multiple files

I have roughly ~30 .txt files in a directory which all have unique names. These files all contain text arranged in columns separated by whitespace (example file: [#YY MM DD hh mm WDIR WSPD GST WVHT DPD APD MWD PRES ATMP WTMP DEWP VIS TIDE #yr mo dy hr mn degT m/s m/s m sec ... (5 Replies)
Discussion started by: aozgaa
5 Replies

5. UNIX for Dummies Questions & Answers

Run one script on multiple files and print out multiple files.

How can I run the following command on multiple files and print out the corresponding multiple files. perl script.pl genome.gff 1.txt > 1.gff However, there are multiples files of 1.txt, from 1----100.txt Thank you so much. No duplicate posting! Continue here. (0 Replies)
Discussion started by: grace_shen
0 Replies

6. Shell Programming and Scripting

Run one script on multiple files and print out multiple files.

How can I Run one script on multiple files and print out multiple files. FOR EXAMPLE i want to run script.pl on 100 files named 1.txt ....100.txt under same directory and print out corresponding file 1.gff ....100.gff.THANKS (4 Replies)
Discussion started by: grace_shen
4 Replies

7. Shell Programming and Scripting

Create Multiple UNIX Files for Multiple SQL Rows output

Dear All, I am trying to write a Unix Script which fires a sql query. The output of the sql query gives multiple rows. Each row should be saved in a separate Unix File. The number of rows of sql output can be variable. I am able save all the rows in one file but in separate files. Any... (14 Replies)
Discussion started by: Rahul_Bhasin
14 Replies

8. Shell Programming and Scripting

Grep strings on multiple files and output to multiple files

Hi All, I want to use egrep on multiple files and the results should be output to multiple files. I am using the below code in my shell script(working in Ksh shell). However with this code I am not attaining the desired results. #!/bin/ksh ( a="/path/file1" b="path/file2" for file in... (4 Replies)
Discussion started by: am24
4 Replies

9. Shell Programming and Scripting

Removing carriage returns from multiple lines in multiple files of different number of columns

Hello Gurus, I have a multiple pipe separated files which have records going over multiple Lines. End of line separator is \n and records going over multiple lines have <CR> as separator. below is example from one file. 1|ABC DEF|100|10 2|PQ RS T|200|20 3| UVWXYZ|300|30 4| GHIJKL|400|40... (7 Replies)
Discussion started by: dJHa
7 Replies

10. Shell Programming and Scripting

sed parser behaving strange on replacing multiple words in multiple files

I have 4000 files like $cat clus_grp_seq10_g.phy 18 1002 anig_OJJ65951_1 ATGGTTTCGCAGCGTGATAGAGAATTGTTTAGGGATGATATTCGCTCGCGAGGAACGAAGCTCAATGCTGCCGAGCGCGAGAGTCTGCTAAGGCCATATCTGCCAGATCCGTCTGACCTTCCACGCAGGCCACTTCAGCGGCGCAAGAAGGTTCCTCG aver_OOF92921_1 ... (1 Reply)
Discussion started by: sammy777888
1 Replies
ARFF(8) 						      System Manager's Manual							   ARFF(8)

NAME
arff, flcopy - archiver and copier for floppy SYNOPSIS
/usr/sbin/arff [ key ] [ name ... ] /usr/sbin/flcopy [ -h ] [ -tn ] DESCRIPTION
Arff saves and restores files on VAX console media (the console floppy on the VAX 11/780 and 785, the cassette on the 11/730, and the con- sole RL02 on the 8600/8650). Its actions are controlled by the key argument. The key is a string of characters containing at most one function letter and possibly one or more function modifiers. Other arguments to the command are file names specifying which files are to be dumped or restored. The default options are correct for the RX01 floppy on the 780; for other console media, the f and m flags are required. Files names have restrictions, because of radix50 considerations. They must be in the form 1-6 alphanumerics followed by "." followed by 0-3 alphanumerics. Case distinctions are lost. Only the trailing component of a pathname is used. The function portion of the key is specified by one of the following letters: r The named files are replaced where found on the floppy, or added taking up the minimal possible portion of the first empty spot on the floppy. x The named files are extracted from the floppy. d The named files are deleted from the floppy. Arff will combine contiguous deleted files into one empty entry in the rt-11 direc- tory. t The names of the specified files are listed each time they occur on the floppy. If no file argument is given, all of the names on the floppy are listed. The following characters may be used in addition to the letter which selects the function desired. v The v (verbose) option, when used with the t function gives more information about the floppy entries than just the name. f causes arff to use the next argument as the name of the archive instead of /dev/floppy. m causes arff not to use the mapping algorithm employed in interleaving sectors around a floppy disk. In conjunction with the f option it may be used for extracting files from rt11 formatted cartridge disks, for example. It may also be used to speed up reading from and writing to rx02 floppy disks, by using the `c' device instead of the `b' device. It must be used with TU58 or RL02 media. c causes arff to create a new directory on the floppy, effectively deleting all previously existing files. Flcopy copies the console floppy disk (opened as `/dev/floppy') to a file created in the current directory, named "floppy", then prints the message "Change Floppy, hit return when done". Then flcopy copies the local file back out to the floppy disk. The -h option to flcopy causes it to open a file named "floppy" in the current directory and copy it to /dev/floppy; the -t option causes only the first n tracks to participate in a copy. FILES
/dev/floppy or /dev/rrx?? floppy (in current directory) SEE ALSO
crl(4), fl(4), rx(4), tu(4), rxformat(8) AUTHORS
Keith Sklower, Richard Tuck BUGS
Device errors are handled ungracefully. 4th Berkeley Distribution November 16, 1996 ARFF(8)
All times are GMT -4. The time now is 07:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy