Code Monkey home page Code Monkey logo

Comments (5)

retokromer avatar retokromer commented on June 18, 2024 1

Hmm… should we add to the scripts, when running under macOS, the following command?

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

from ltopers.

dericed avatar dericed commented on June 18, 2024

It appears to use gcp then calls migratefiles which in this case would run rsync. So if all goes well then the rsync use doesn't do anything, but if gcp fails than rsync should attempt to fix it.

from ltopers.

retokromer avatar retokromer commented on June 18, 2024

Thank you! I will delve into this.

from ltopers.

BleakleyMcD avatar BleakleyMcD commented on June 18, 2024

@dericed That is certainly how it seems to work for us. migratefiles does seems to have a problem with .DS_Store, which even if we remove keeps popping back up as it is known to do, causing rsync to exit with 1 even though all pertinent files have transferred without issue.

/Users/medialab
≈:≈ writelto -v -e N -t LT004B /Volumes/UtilitySAN/LTO/LTO/
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD/objects' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD/objects'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD/objects/2016_129_7_1_PM_MUHAMMAD.mov' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD/objects/2016_129_7_1_PM_MUHAMMAD.mov'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD/objects/2016_129_7_1_PM_MUHAMMAD.mov.qctools.xml.gz' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD/objects/2016_129_7_1_PM_MUHAMMAD.mov.qctools.xml.gz'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD/metadata' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD/metadata'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD/metadata/checksumchecks.log' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD/metadata/checksumchecks.log'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD/metadata/dfxml.xml' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD/metadata/dfxml.xml'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD/metadata/checksum.md5' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD/metadata/checksum.md5'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_2_PM_MUHAMMAD' -> '/Volumes/LT004B/LT004B/2016_129_7_2_PM_MUHAMMAD'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_2_PM_MUHAMMAD/objects' -> '/Volumes/LT004B/LT004B/2016_129_7_2_PM_MUHAMMAD/objects'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_2_PM_MUHAMMAD/objects/2016_129_7_2_PM_MUHAMMAD.mov' -> '/Volumes/LT004B/LT004B/2016_129_7_2_PM_MUHAMMAD/objects/2016_129_7_2_PM_MUHAMMAD.mov'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_2_PM_MUHAMMAD/metadata' -> '/Volumes/LT004B/LT004B/2016_129_7_2_PM_MUHAMMAD/metadata'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_2_PM_MUHAMMAD/metadata/checksumchecks.log' -> '/Volumes/LT004B/LT004B/2016_129_7_2_PM_MUHAMMAD/metadata/checksumchecks.log'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_2_PM_MUHAMMAD/metadata/dfxml.xml' -> '/Volumes/LT004B/LT004B/2016_129_7_2_PM_MUHAMMAD/metadata/dfxml.xml'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_2_PM_MUHAMMAD/metadata/checksum.md5' -> '/Volumes/LT004B/LT004B/2016_129_7_2_PM_MUHAMMAD/metadata/checksum.md5'
  [writelto] 2017-05-12T11:42:47 - Running: /usr/local/bin/migratefiles -o /Volumes/LT004B /Volumes/UtilitySAN/LTO/LTO//
The input is: /Volumes/UtilitySAN/LTO/LTO//
The target is: /Volumes/LT004B/
  [migratefiles] 2017-05-12T11:42:48 - Running: rsync -rtvP --log-file=/Users/medialab/migrate.log --log-file-format=20170512-114248 '%f' %l '/Volumes/LT004B/' /Volumes/UtilitySAN/LTO/LTO// /Volumes/LT004B/
sending incremental file list
./
.DS_Store
          6,148 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=17/19)
LT004B/
LT004B/LT004B_checksums.txt
      3,669,924 100%   28.69MB/s    0:00:00 (xfr#2, to-chk=15/19)

sent 3,677,633 bytes  received 75 bytes  7,355,416.00 bytes/sec
total size is 187,117,706,843  speedup is 50,878.89
Removing hidden files from tape.
The input is: /Volumes/UtilitySAN/LTO/LTO//
The target is: /Volumes/LT004B/
  [migratefiles] 2017-05-12T11:43:05 - Running: rsync -rtvP --log-file=/Users/medialab/migrate.log --log-file-format=20170512-114305 '%f' %l '/Volumes/LT004B/' /Volumes/UtilitySAN/LTO/LTO// /Volumes/LT004B/
sending incremental file list
./
.DS_Store
          6,148 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=17/19)
rsync: mkstemp "/Volumes/LT004B/.DS_Store.DFqfim" failed: Operation not permitted (1)

sent 6,775 bytes  received 135 bytes  13,820.00 bytes/sec
total size is 187,117,706,843  speedup is 27,079,262.93
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1249) [sender=3.1.2]
  2017-05-12T11:43:05 -  [migratefiles]Error: Running: "rsync -rtvP --log-file=/Users/medialab/migrate.log --log-file-format=20170512-114305 '%f' %l '/Volumes/LT004B/' /Volumes/UtilitySAN/LTO/LTO// /Volumes/LT004B/" gave an Error Code - 23
  2017-05-12T11:43:05 -  [migratefiles]The process ran into a critical error and can not proceed.
rsync exited with 0 on the first pass and 1 on the second pass.
Done writing but not ejecting LT004B.

from ltopers.

retokromer avatar retokromer commented on June 18, 2024

for the initial issue, see now #105

from ltopers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.