Re: A Different Rsync Question
Re: A Different Rsync Question
- Subject: Re: A Different Rsync Question
- From: Whit Anderson <email@hidden>
- Date: Thu, 13 Sep 2007 23:38:42 -0500
On Sep 13, 2007, at 11:10 PM, Mark J. Reed wrote:
On 9/13/07, Whit Anderson <email@hidden> wrote:
I've also been twisted up in the way to refer to a path on a
networked storage device. Once the drive is mounted, the Finder
responds to
1TB:test
to find the folder I am working with.
rsync, on the other hand, seems to need
/Volumes/WHITHOME\;MSS-03EAE9/test/
Is "1TB" the name that shows up on the disk icon on the Desktop? I
would expect that to match the name under /Volumes as well (so that
/Volumes/1TB would work on the POSIX side)...
Yes, "1TB" is the name that I see on the Desktop. 1TB is the name of
the share that I have mounted. As I said, I'm twisted up in the name/
path for networked storage devices. I would have thought /Volumes/1TB
would work, but it doesn't for me. Here is the results of my efforts
to use /Volumes/1TB with rsync in terminal
g5:~ whit$ rsync -aEv --delete /Volumes/500A/test/ /Volumes/1TB/test/
building file list ... done
rsync: mkdir "/Volumes/1TB/test" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at /SourceCache/rsync/
rsync-24.1/rsync/main.c(396)
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /
SourceCache/rsync/rsync-24.1/rsync/io.c(359)
When I change directories to /Volumes and do ls, I find a bunch of
drives, including WHITHOME which is the name of a workgroup (but no
sign of 1TB).
g5:~ whit$ cd /Volumes/
g5:/Volumes whit$ ls -l
total 72
drwxrwxr-t 37 whit whit 1360 Aug 29 14:37 140C
drwxr-xr-x 23 whit whit 884 Jul 7 00:37 140E
drwxr-xr-x 27 whit whit 1020 Jul 30 11:35 140F
drwxr-xr-x 17 whit whit 680 Sep 13 13:19 280A
drwxr-xr-x 22 whit whit 850 Sep 13 13:06 500A
drwxrwxrwx 19 whit whit 748 Aug 9 2006 90A
drwxrwxr-t 42 whit whit 1530 Jan 16 2007 90B
drwxrwxr-x 23 whit whit 884 Oct 13 2006 90C
drwxr-xr-x 19 whit whit 748 Aug 8 2006 90D
lrwxr-xr-x 1 root admin 1 Sep 9 12:16 Main -> /
drwxr-xr-x 13 whit whit 544 Aug 22 14:20 Main_BU
drwxr-xr-x 12 whit whit 510 Aug 16 12:14 Panic
drwxr-xr-x 21 whit whit 816 Jul 19 22:09 RansomActive Textures
drwx------ 5 whit whit 170 Sep 13 20:13 WHITHOME
drwx------ 1 whit admin 16384 Sep 13 21:56 WHITHOME;MSS-03EAE9
drwx------ 1 whit admin 16384 Jul 31 18:33 WHITHOME;WHITDELL
If I ls WHITHOME, I get a list of the two files in 1TB/test (one.rtf
and twoOrSomething.rtf). No sign of the test directory.
g5:/Volumes whit$ ls -l WHITHOME
total 16
-rwx------ 1 whit whit 319 Sep 13 13:05 one.rtf
-rwx------ 1 whit whit 326 Sep 13 15:25 twoOrSomething.rtf
MSS-03EAE9 is the name of the shared network drive. If I ls WHITHOME
\;MSS-03EAE9/, I get a list of the folders on that drive (the ones
that I see in the GUI when I look at 1TB).
g5:/Volumes whit$ ls -l WHITHOME\;MSS-03EAE9/
total 156
drwx------ 1 whit admin 16384 Sep 13 21:56 BU_Weekly
drwx------ 1 whit admin 16384 Mar 26 12:29 Product_Creation
-rwx------ 1 whit admin 13780 Sep 13 16:15 Untitled 2.app
drwx------ 1 whit admin 16384 Sep 13 18:48 gumout
drwx------ 1 whit admin 16384 Sep 13 20:23 test
If I list WHITHOME\;MSS-03EAE9/test, I see one.rtf and
twoOrSomething.rtf (the same files that I see if I ls WHITHOME, and
the same files I see in the GUI in 1TB:test.)
g5:/Volumes whit$ ls -l WHITHOME\;MSS-03EAE9/test
total 4
-rwx------ 1 whit admin 319 Sep 13 13:05 one.rtf
-rwx------ 1 whit admin 326 Sep 13 15:25 twoOrSomething.rtf
I'm afraid my confusion displays how very little understanding I have
of network volumes and shares.
--Whit
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden