image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old July 28th, 2006, 12:06 AM
Registered User
 
Join Date: Jun 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Garrek is on a distinguished road
Copying files from remote system to local via scp or rsync

I have been trying, apparently in vain, to copy a folder hierarchy which contains nothing but icons. Running ls -al on any of the folders shows the icon files having a file size of zero.

To copy the files from the remote system to my local I tried scp:

scp -r -p -C -E 192.168.1.2:/icons /copiedFiles

I get an error of too many open files

I then tried rsync using:

rsync -avz 192.168.1.2:/icons /copiedFiles
which displays:
sent 124296 bytes received 31045431 bytes 903470.35 bytes/sec
total size is 67260477 speedup is 2.16
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-24/rsync/main.c(1161)

Can anyone PLEASE tell me what I'm doing wrong?
Reply With Quote
  #2  
Old July 28th, 2006, 10:29 AM
Registered User
 
Join Date: Jul 2006
Location: Vancouver,BC -> NewYorkCity,US
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
bluedevils is on a distinguished road
you have actual icons, but ls -al tells you they have a file size of zero? What mount point is this on?
Reply With Quote
  #3  
Old July 28th, 2006, 11:45 AM
Registered User
 
Join Date: Jun 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Garrek is on a distinguished road
Running DiskUtility on the drive shows me it is a Mac OS X Extended (Journaled) system. Partition Type is Apple_HFS.

I'm guessing the files are zero, since there really are no contents but the icons are considered metadata and therefore stored elsewhere in the file system. Does this sound correct?

There are thousands of these icons in the parent or sub-folders.
Reply With Quote
  #4  
Old July 28th, 2006, 01:19 PM
spb spb is offline
Registered User
 
Join Date: Dec 2004
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
spb is on a distinguished road
I know nothing about the /icons directory, but if the problem is that there are too many files, you can always tar them into a single file and then untar it after the transfer.
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying files between hard drives slows down system RobinS Mac OS X System & Mac Software 1 March 9th, 2006 02:32 PM
rsync: synchronize files on samba network bernhard Unix & X11 0 February 15th, 2006 02:17 AM
Copying System Icons Flipsidejones Mac OS X System & Mac Software 1 December 15th, 2001 01:54 PM
Copying files from remote computer through telnet? Rhino_G3 Apple News, Rumors & Discussion 3 October 23rd, 2001 10:58 AM
Copying files? Vroomfondel Mac OS X System & Mac Software 2 December 1st, 2000 05:34 AM


All times are GMT -5. The time now is 08:58 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.