Accessing files on external USB drive using UNIX?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Accessing files on external USB drive using UNIX?
Prev   Next
# 1  
Old 05-29-2006
Accessing files on external USB drive using UNIX?

Hi Folks,

I'm a serious UNIX newbie... I'm using a bash shell on Mac OS X.

Basically I took up unix in order to use a specific image processing software package... I've learned enough to write a script to batch process all of my images, but I have so many that I would like to use an external (USB) drive to hold the data and point the script towards those files.

Is there any way to navigate to an external drive in UNIX?

Thanks.
-Brent.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to Install UNIX on an External Drive?

Hello, I'm running Windows 10, but I wish to install UNIX on an external drive and not my internal drive. Also, I'm not quite sure what UNIX to install? I also want to install the GNAT compiler so that I can also practice Ada programming. I will appreciate all help, CMN (2 Replies)
Discussion started by: CMN
2 Replies

2. Red Hat

Usb external drive

Hi Guys I am using RHEL5 O/S. We have mounted the usb external hard drive to the server as root. I want the user oracle to be able to write into this external hard drive. How do i do that ? Please Help!!! (1 Reply)
Discussion started by: Phuti
1 Replies

3. UNIX for Advanced & Expert Users

Waking Up USB External Hard Drive for file archiving

Hello Experts, I hope I'm writing to the correct category for my question. I have a very basic shell script for doing file archiving to the external usb hard drive (WD studio edition II 2TB formatted as FAT32 for compatibility). The shell script only needs to run once per day. It basically... (8 Replies)
Discussion started by: johankor
8 Replies

4. Hardware

Flapping (reconnecting) external USB drive

Hi gurus, during playing movie via VLC or SMPlayer I get several time the error that file cannot be read. File was stored on external USB disk. During this error I get another dialogue message that says the new removable disk was connected..., just as if power goes off and on again or if I power on... (1 Reply)
Discussion started by: wakatana
1 Replies

5. Ubuntu

driver for external drive case on usb port

Hi I have to buy my selfe external case for hdd but I don't know whether my ubuntu linux, needs some driver to be able to work with this device or it has inside of itselfe this driver ? rhx for help. (1 Reply)
Discussion started by: presul
1 Replies

6. Solaris

USB External Hard Drive for Solaris 10 Sparc

Hi- I would like to know if anyone has used any USB External Hard Drive, about 500/750GB or 1TB, with any of the Solaris 10 "SPARC" systems. Not on intel nor amd platform. I'm looking for the compatible drive and found a few listed on Sun solaris ready page, but I'd like to have inputs from... (3 Replies)
Discussion started by: agfa_109
3 Replies

7. Solaris

Installing Solaris x86 through an external DVD drive through the USB port...

Is there a way to install Solaris 10 x86 with an external DVD drive that connects through the USB port? I would think I would run GRUB off of a floppy disk and somehow use that to make it look to the USB port to boot from but I don't know how to do that. Can anyone help me out? (1 Reply)
Discussion started by: Bradj47
1 Replies

8. Solaris

FAT32 usb external hard drive - how to mount??

Hello ! What is the comand to mount and usb hard disk ? I have Solaris 10 installed! 10nx! (1 Reply)
Discussion started by: daniel.balasa
1 Replies

9. UNIX for Dummies Questions & Answers

mount external usb drive on Redhat 9

I am using Redhat 9 Linux, and am trying to get my external usb drive mounted (fat32). If I look at the KDE Control panel, it lists a usb 2.0 storage device under "USB Devices" (also in /proc/bus/usb), and under "SCSI" as scsi1. I looked at /proc/scsi/usb-storage-0, and it lists it there also. What... (6 Replies)
Discussion started by: jeremiebarber
6 Replies

10. UNIX for Dummies Questions & Answers

Accessing Files on another drive

Hey..alright heres the deal I'm going to do a triple boot if you would Win98SE, Win2K, and Redhat Linux 7.1 now I have two HDs each with 30 gigs i've allowed one HD to the OS's with 10 gigs each...the third I intend to be one for windows to pull things thats compliant with both 98 and 2k and store... (2 Replies)
Discussion started by: PravusMentis
2 Replies
Login or Register to Ask a Question
mcopy(1)						      General Commands Manual							  mcopy(1)

NAME
mcopy - mtools utility to copy DOS files to and from a UNIX operating system SYNOPSIS
mcopy [-mntv] sourcefile targetfile mcopy [-mntv] sourcefile [sourcefiles...] targetdirectory OPTIONS
Preserves the file modification time. Specifies that a warning is not issued when an existing file is specified as the target file. If this option is not specified, the mcopy command verifies whether or not to overwrite an existing file. Specifies a text file transfer. Line terminators are converted to the appropriate format. Specifies verbose mode. The new file name is displayed if the name supplied is invalid. DESCRIPTION
The mcopy command copies the specified file to the named file, or copies multiple files to the named directory. The specified files or directories can be either DOS or UNIX files. If the file is a text file line terminators are converted to the appropriate format. Using a drive letter designation on the DOS files such as 'a:' determines the direction of the transfer. A missing drive designation indi- cates a UNIX file whose path starts in the current directory. DOS subdirectory names that contain the '/' or '' separator are supported. If you use the '' separator or wildcards, you must enclose file names in quotes to protect them from the shell. The mcd command can be used to establish the device and the current working directory (relative to DOS), otherwise the default is A:. Not all UNIX file names are supported in the DOS world. The mcopy command may have to change UNIX names to fit the DOS file name conven- tions. The following table shows some examples of file name conversions: ----------------------------------------------- UNIX name DOS name Reason for the change ----------------------------------------------- thisisatest THISISAT file name too long file.stuff FILE.STU extension too long prn.txt XRN.TXT PRN is a device name .abc X.ABC null file name hot+cold HOTXCOLD illegal character ----------------------------------------------- RESTRICTIONS
The following restrictions exist: Omitting the destination directory is not supported. Using the plus (+) operator is not supported. Using a drive letter designation on DOS files is required with this command only, not with other mtools. EXIT STATUS
The following exit values are returned: Success. Failure. ENVIRONMENT VARIABLES
The following environment variables affect the execution of mcopy: If set, this variable names the file that contains the name of the cur- rent mtools working directory as established by the mcd command. If this variable is not set, the file $HOME/.mcwd is used. FILES
Contains the name of the current mtools working directory as established by the mcd command. If this file does not exist, the default mtools working directory is A:. Executable file SEE ALSO
Commands: dos2unix(1), mcd(1), mdiskcopy(1), mread(1), mtools(1), mwrite(1), unix2dos(1) mcopy(1)