Solved

copying files in unix

Posted on 2000-02-26
5
409 Views
Last Modified: 2010-04-21
how can you copy files to your floppy disk under unix?
0
Comment
Question by:anemos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 

Author Comment

by:anemos
ID: 2561099
Adjusted points to 50
0
 

Expert Comment

by:markparr
ID: 2561128
Are you just wanting to copy the files to the disk or do you also want to be able to read them on a DOS/Windows PC?  What flavor of Unix are you using?
0
 
LVL 21

Expert Comment

by:tfewster
ID: 2561133
Either tar them to the floppy device, e.g. tar -xvf /dev/fd0 file_names so they can be untarred by any another system that has "tar" (available for DOS, Windows etc.)

OR create a filesystem on the floppy, mount it, copy the files using cp, umount the filesystem, mount the floppy on another system running the SAME Unix, copy files from floppy.

0
 

Author Comment

by:anemos
ID: 2561138
All am wating is simply copying a file from my home directory to my floppy disk... I am sorry if I am not being specific enough...
 How can I access the floppy device?
0
 

Accepted Solution

by:
markparr earned 50 total points
ID: 2561156
Actually, you would write the files to the floppy using

tar -cvf /dev/fd0 <file(s)>

and use

tar -xvf /dev/fd0

when you needed to restore them.

In most cases, the floppy drive name will be /dev/fd#.

You also DD (Data Dump) a file to the floppy using

dd if=<file> of=/dev/fd0

and then restore it using

dd if=/dev/fd0 of=<new file>

0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSH commands for Nas4free 21 544
Unix / Linux grid computing 5 171
Equivalent of WSUS for Solaris, AIX and Cisco devices 11 133
how to write and save a unix script 12 36
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question