Skip to content

Instantly share code, notes, and snippets.

@jpoehls
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpoehls/9279623 to your computer and use it in GitHub Desktop.
Save jpoehls/9279623 to your computer and use it in GitHub Desktop.
camget - chmod "invalid argument" error on Windows
  1. Drag and dropped "notes" (a text file) into the web UI.

  2. camtool describe sha1-9bc9a500f1cb6e6afc789311cb5377f6d36a5cee

     {
       "meta": {
         "sha1-9bc9a500f1cb6e6afc789311cb5377f6d36a5cee": {
           "blobRef": "sha1-9bc9a500f1cb6e6afc789311cb5377f6d36a5cee",
           "camliType": "permanode",
           "size": 548,
           "permanode": {
             "attr": {
               "camliContent": [
                 "sha1-a7c0d2ea28678ac54e0d0c80c1c820400da46017"
               ]
             },
             "modtime": "2014-02-28T20:37:21Z"
           }
         }
       }
     }
    
  3. camtool describe sha1-a7c0d2ea28678ac54e0d0c80c1c820400da46017

     {
       "meta": {
         "sha1-a7c0d2ea28678ac54e0d0c80c1c820400da46017": {
           "blobRef": "sha1-a7c0d2ea28678ac54e0d0c80c1c820400da46017",
           "camliType": "file",
           "size": 181,
           "file": {
             "fileName": "notes",
             "size": 1060
           }
         }
       }
     }
    
  4. camget -o camtest sha1-a7c0d2ea28678ac54e0d0c80c1c820400da46017 (camtest being an existing local directory)

     2014/02/28 14:39:39 chmod camtest\notes: invalid argument
    
@jpoehls
Copy link
Author

jpoehls commented Feb 28, 2014

Running Windows 8.1 64-bit, Camlistore 0.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment