Hi all,
I posted this on this forum but under a different Subject. Here is the
finished script for those who might be interested.
Thanks to all who helped me with this.
Mark
---
#!/usr/bin/perl -w
use
So all I need to do is fix my spelling error and (add the N) and I'm
good to go, right? Then when I'm in the command line in the Terminal,
to access the PRINCETON;DELLSERVER directory, I would use, for example:
% ls -l /Volumes/'PRINCETON;DELLSERVER'/
or
% ls -l /Volumes/PRINCETON\\;DELLSERVER/
On May 1, 2004, at 11:00 AM, Mark Wheeler wrote:
Then when I'm in the command line in the Terminal, to access the
PRINCETON;DELLSERVER directory, I would use, for example:
% ls -l /Volumes/'PRINCETON;DELLSERVER'/
Yes. The single-quotes in the above will prevent the shell from parsing
the ';' as
OK, I think I got it. When I get to work tomorrow I'll test it out. One
last question. Is there a web site or book I can read that goes through
all that you've shared with me? I'd like to learn more.
Thanks,
Mark
On May 1, 2004, at 8:34 AM, Sherm Pendley wrote:
On May 1, 2004, at 11:00 AM, Mark
On May 1, 2004, at 11:59 AM, Mark Wheeler wrote:
OK, I think I got it. When I get to work tomorrow I'll test it out.
One last question. Is there a web site or book I can read that goes
through all that you've shared with me? I'd like to learn more.
The Perl side of things is described in
On Fri, 30 Apr 2004, Mark Wheeler wrote:
[snip] In the Volumes directory, it lists the following as the mounted
folder:
PRINCETON;DELLSERVER
How do I get into the server? The pathway I tried is:
/Volumes/PRINCETON;DELLSERVER/
That didn't work.
These kinds of things are *always*
On Apr 30, 2004, at 11:54 PM, Chris Devers wrote:
So, it's hard to say what you need to do without knowing what your code
looks like, but bear in mind that Perl's rules for this kind of thing
will be similar to what the shell is doing here.
Not really. The semicolon is the end-of-statement marker
Hi,
Thanks for the help. Below is the code and (although from memory) a
listing of the /Volumes/ directory.
/Volumes/:
10 GB Firewire Drive
eDrive
PRINCETON;DELLSERVER
PRINCETON;DELLSERVER-1
PRINCETON;DELLSERVER-2
PRINCETON;DELLSERVER-3
And the perl code:
On May 1, 2004, at 1:08 AM, Mark Wheeler wrote:
PRINCETON;DELLSERVER
my $dirfrom = /Volumes/PRICETON;DELLSERVER/;
Is that code copy-n-pasted? If it is, it's missing an 'N'. ;-)
sherm--
Hi Sherm,
Yes, it's copy-n-pasted! I can't believe I missed that! With that
changed, does everything in the script look in order to function
correctly? Or do I need to change it to
/Volumes/PRINCETON\;DELLSERVER/;
Thanks,
Mark
On Apr 30, 2004, at 10:30 PM, Sherm Pendley wrote:
On May 1, 2004,
On May 1, 2004, at 1:37 AM, Mark Wheeler wrote:
With that changed, does everything in the script look in order to
function correctly? Or do I need to change it to
/Volumes/PRINCETON\;DELLSERVER/;
No, you're using Perl's built-in copy() function, so the back-slash
isn't needed. It's only needed
Thanks Jeff and Joseph,
You're right. It's in /Volumes/
I'm not on the network right now, but I'm presuming that the PC
drive(s) would appear in the /Volumes/ directory as well. Can you
confirm that?
Thanks,
Mark
On Apr 29, 2004, at 9:14 AM, Joseph Alotta wrote:
Mark,
Look around in
On Thu, 29 Apr 2004, Mark Wheeler wrote:
I'm not on the network right now, but I'm presuming that the PC
drive(s) would appear in the /Volumes/ directory as well. Can you
confirm that?
Yes -- as a general rule, OSX mounts all filesystems other than the one
you booted from under the /Volumes
Perfect. Thanks so much for your help. I'll implement the directory
changes and we should be good to go.
Thanks,
Mark
On Apr 29, 2004, at 9:35 AM, Chris Devers wrote:
On Thu, 29 Apr 2004, Mark Wheeler wrote:
I'm not on the network right now, but I'm presuming that the PC
drive(s) would appear in
14 matches
Mail list logo