The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Opening a file during FTP ceaker High Level Programming 1 03-31-2006 11:40 PM
Opening CDE encrypted UNIX for Advanced & Expert Users 3 01-24-2005 09:56 AM
opening a file hiei UNIX for Dummies Questions & Answers 4 03-31-2004 09:24 PM
Opening Perl perleo Shell Programming and Scripting 2 08-26-2002 06:41 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 03-05-2003
Registered User
 

Join Date: Jun 2002
Posts: 37
opening floppy

I have solaris 8 (Intel Version) and I was wondering how I can transfer a bunch of text files (shellscripts) via floppy. I don't have internet connectivity with my Solaris pc so I can't download the files.
I have the text files on my windows 2000 pc and copied them to a floppy but when I try to open them from my solaris pc it only says "2 hidden files" on them.
I know that Windows and Unix don't follow the same format but how can I transfer these files via floppy from win to solaris.
Also I'm logging into the solaris pc with the userfriendly GUI interface and it has an open floppy button to click on, but when I log in as root there isn't any such thing. How can I open a floppy while logged in as root from the command prompt.

Please excuse the dumb questions but you have to crawl before you can walk

Thanks in advance
Forum Sponsor
  #2  
Old 03-05-2003
yls177
Guest
 

Posts: n/a
samba may help u, i have tried it for myself though
  #3  
Old 03-05-2003
Registered User
 

Join Date: Oct 2002
Posts: 676
I dont think samba is really necessary in this situation. First of all, since it is a unix file, you might want to run the unix2dos command (check the man pages).
Also, Windows has an option to show hidden files. In my version of windows (XP), you navigate to windows explorer and click on tools--> Folder options-->view. There you can show hidden files.
  #4  
Old 03-05-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
mount -t umsdos /dev/fd0
or mount -t msdos /dev/fd0

note : /dev/fd0 is the location of your floppy drive, it may be something else on your system.
  #5  
Old 03-05-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
also you might have to convert the file formats, because you may have a bunch of carriage returns in the file which will definelty mess up the running of your shellscripts.
  #6  
Old 03-08-2003
Registered User
 

Join Date: Sep 2002
Location: /dev/null
Posts: 12
can't you make2fs and change the give the scripts and extension like .txt so dos/win can read it and then change the file name back when your back on a unix system?
__________________
[url=http://www.juxtapresentations.com][img]http://members.rogers.com/juxtapresentations.com/myfooter.gif[/img][/url]

[url=www.urbanfocus.ca]Novice Photography Showcase[/url]
  #7  
Old 03-09-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
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.
Google The UNIX and Linux Forums
Closed Thread

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0