TheLastGimbus / GooglePhotosTakeoutHelper

Script that organizes the Google Takeout archive into one big chronological folder
https://aur.archlinux.org/packages/gpth-bin
Apache License 2.0
3.47k stars 176 forks source link

cannot move file to a different disk drive #284

Closed jhennig closed 4 months ago

jhennig commented 4 months ago

Hi, When using windoza 3.4.3 I get the following error

Unhandled exception: FileSystemException: Cannot rename file to 'E:\GooglePhotosCleaned\ALL_PHOTOS\1906\07\36913273772_d934833874_h.jpg', path = 'F:\Google\Takeout\Google Photos\Photos from 1906\36913273772_d934833874_h.jpg' (OS Error: The system cannot move the file to a different disk drive. , errno = 17)

0 _checkForErrorResponse (dart:io/common.dart:55)

1 _File.rename. (dart:io/file_impl.dart:335)

#2 moveFiles.moveFile (package:gpth/moving.dart:135) #3 moveFiles (package:gpth/moving.dart:140) #4 main. (file:///d:/a/googlephotostakeouthelper/googlephotostakeouthelper/bin/gpth.dart:373)
TheLastGimbus commented 4 months ago

Yep, that's not working now, but you don't have to do this: https://github.com/TheLastGimbus/GooglePhotosTakeoutHelper/issues/251#issuecomment-1747006340

closing as duplicate of #251