LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-13-2003, 12:01 AM   #1
query
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-13-2003, 12:30 AM   #2
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
probably...

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.

RO
 
Old 03-13-2003, 04:05 AM   #3
sdm
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, 06:07 AM   #4
theoa
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, 05:03 AM   #5
fmotta
LQ Newbie
 
Registered: Mar 2003
Posts: 10

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


Reply


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 11:39 PM
Any command-line tools which can edit EXIF image data? neocookie Linux - Software 1 01-27-2005 12:23 PM
Boot Floppy/command line? acidblue Linux - Newbie 1 07-23-2004 10:38 PM
Access Floppy From Command Line Login?.... Stealthy_C Linux - General 1 03-05-2004 02:33 PM
Floppy disk command Riichard Linux - Newbie 4 09-28-2003 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:28 PM.

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