shell script copies folders, but not files

Ask a Question related to Mac Programming, Design and Development.

  1. #1

    Default Re: shell script copies folders, but not files

    [email]meanstoanend00@yahoo.com[/email] (jamie) wrote in message news:<b83b8ff8.0308291009.2b8f762f@posting.google. com>...
    > #!/bin/sh
    > ditto -V -rsrcFork /Users/becky/Documents /Volumes/BECKYBACKUP
    >
    > Unfortunately, only the folder structure is being copied to the
    > server. The files inside the folders are not being copied over.
    That seems very strange. I just tried it, and it worked fine.

    I'd look for a permission problem, if I were you.
    Eric Pepke Guest

  2. Similar Questions and Discussions

    1. Printing different/selective files with different copies
      Hi everyone, I've been working on finding a solution, on how to print different pdf files with different copies, without opening the pdf-files. ...
    2. Accessing files/folders inside other application folders
      How can I have an asc file from one application read text files in another applications directory? I have multiple applications creating text...
    3. PLEASE HELP: How to create files and folders running my script????
      Hi All: Is there any way I can get my script to be able to create and CHMOD folders and files??? I always get the following error: ...
    4. Making folders and sub-folders and files NOT read-only
      I select a folder. I right click my mouse on that folder and select properties. I uncheck the Read Only checkbox. I click on Apply. I check the...
    5. Execute shell script from a perl script
      Hi, How can I executed a Unix shell script from a Perl script. The shell script is a dump of a oracle table to a file. The perl script is for...
  3. #2

    Default Re: shell script copies folders, but not files

    In article <b83b8ff8.0308291009.2b8f762f@posting.google.com >,
    [email]meanstoanend00@yahoo.com[/email] (jamie) wrote:
    >#!/bin/sh
    >ditto -V -rsrcFork /Users/becky/Documents /Volumes/BECKYBACKUP
    >
    >Unfortunately, only the folder structure is being copied to the
    >server. The files inside the folders are not being copied over.
    Assuming that both disks don't have formatting problems,
    the person executing the script either

    a) Doesn't have permission to read the source documents or
    b) Doesn't have permission to write to the destination


    Simon Slavin Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139