Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-12-2003, 11:01 PM   #1
LQ Newbie
Registered: Mar 2003
Posts: 1

Rep: Reputation: 0
How to mv data from floppy disk to hdd using command line

Hi Guys,

I have copied some Unix scripts from Win 2k server to a diskette. Can I enquire how do I mv the data in the floppy disk to the redhat 7.2 in command line? Thanks in advance.
Old 03-12-2003, 11:30 PM   #2
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30

mount /dev/fd0
(your foppy device name may vary)
cp /mnt/floppy/<rest of path/* /root
umount /dev/fd0
(consule your /etc/fstab for the device and mount point)

Note * can be replaced with specific filenames, * means all. I just used root as an example destination directory, it can go anywhere.

Old 03-13-2003, 03:05 AM   #3
LQ Newbie
Registered: Mar 2003
Location: india
Posts: 1

Rep: Reputation: 0
before using any media you will need to mount the file system. generally floppydisk is your /dev/fd0 so u mount that device to some directory /mnt/floppy for example..
also after using it you should unmount the file system. which you do by saying
umount /mnt/floppy
Old 03-13-2003, 05:07 AM   #4
LQ Newbie
Registered: Mar 2003
Location: Netherlands
Distribution: RedHat 8.0
Posts: 2

Rep: Reputation: 0
Re: How to mv data from floppy disk to hdd using command line

As an alternative to mounting the floppy, you can use the mtools.
Something like (from memory, don't have any Linux at hand):
$> mcopy A:*.* /wherever
Old 03-14-2003, 04:03 AM   #5
LQ Newbie
Registered: Mar 2003
Posts: 10

Rep: Reputation: 0
mcopy is easiest - mounting requires root access


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
hdd reformat from the command line Dewey Linux - Newbie 2 03-28-2005 10:39 PM
Any command-line tools which can edit EXIF image data? neocookie Linux - Software 1 01-27-2005 11:23 AM
Boot Floppy/command line? acidblue Linux - Newbie 1 07-23-2004 09:38 PM
Access Floppy From Command Line Login?.... Stealthy_C Linux - General 1 03-05-2004 01:33 PM
Floppy disk command Riichard Linux - Newbie 4 09-28-2003 09:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration