How to copy files from mac to NAS via command line

Discussion in 'Mac OS X Server, Xserve, and Networking' started by akola, Feb 1, 2012.

  1. akola macrumors newbie

    Feb 1, 2012
    New to mac. We have NAS (Celerra). Once finalized we move files to Celerra. Now previously it was running fine but for some reason when copying from MAC to NAS it throws error 36 (excess buffer something).

    Figured it out since that NAS folder has way too many TIFF files it takes 5 to 10 mins to show up in MAC. When i drag it from MAC to NAS it gets stuck @ preparing to copy.

    SO i was wondering can i use command line to copy and paste? if so any help will be useful.

    For now created a temp folder on NAS and dragging to it works fine.

    thank you.
  2. belvdr macrumors 603

    Aug 15, 2005
    No longer logging into MR
    cp <source file> <destination directory>
    So, if your NAS was mounted at /Volumes/NAS and you wanted to copy all TIFF files in the current directory to the NAS, you would do:

    cp *.tiff /Volumes/NAS
  3. Soverc macrumors member

    Oct 7, 2005
    error 36

    If the dir is what you all ready have on the mac, delete it from the NAS.

    On the dir that you want to copy to the NAS

    from terminal
    dot_clean /path/to/dir/with/files

    This was an old issue that may have resurfaced again, would not surprise me as we are Apples QA dept. now.
  4. crazycanucks macrumors regular

    Jun 30, 2010
    This issue still happens in 10.7.4. We are copying files from Finder to a Webdav site like Sharepoint which produces the error 36. Just discovered a 3rd party solution called Transmit. It is an FTP program, but will copy your files over properly, especially to webdav sites like Sharepoint

Share This Page