Page 1 of 1

Disable space check on custom copy for move operations in the same drive.

Posted: 13 Sep 2021 12:08
by IppoKun
I'm using the Custom Copy Operations to move data inside a Google Drive mount (by Google Drive app on Windows). Since this drive has unlimited space I'm having troubles by the "space check" xyplorer does. Some point of whats happening:

- The space reported on this mount is the space of my drive cache (local drive) and not the mount itself (the mount space is actually unlimited).
- Everything I'm moving is inside the mount, so the cache drive isn't used (this is only used when downloading/uploading files to Google Drive)
- Unfortunately my cache drive has very small space (SSD) and xyplorer will always check the space available on the "mount" and doesn't allow me to move if the amount I'm trying to move is bigger than my cache drive.

Is there any way I can disable this check or avoid this? I have to use Custom Copy, without it I have some rare problems when doing the same moves (downloads the files to upload to the new destination, instead of moving directly)

Re: Disable space check on custom copy for move operations in the same drive.

Posted: 13 Sep 2021 13:55
by admin
Please insert your Google Drive target path (the target path of your move operation) in the place of "C:\YourTargetPath\" below, then run this script line through the address bar:

Code: Select all

exist "C:\YourTargetPath\";
What is returned? The interesting question is: Is this path recognized as a Mount Point?

Re: Disable space check on custom copy for move operations in the same drive.

Posted: 13 Sep 2021 15:09
by IppoKun
admin wrote: 13 Sep 2021 13:55 Please insert your Google Drive target path (the target path of your move operation) in the place of "C:\YourTargetPath\" below, then run this script line through the address bar:

Code: Select all

exist "C:\YourTargetPath\";
What is returned? The interesting question is: Is this path recognized as a Mount Point?
It seems it's not recognized as a NetworkLocation (I believe Google Drive app "mounts" this like a local drive):

Code: Select all

Path: G:\My Drive
Real Path: G:\My Drive
ExistFile: False
ExistPath: True
ExistFolder: True
ExistItemFF: True
ExistPathFF: True
ExistPathOrFile: True
ExistPathOrFileShell: True
ExistIcon: True
IsNetworkLocation: False
GetDriveType: 3 (DRIVE_FIXED)
GetItemType: 2
GetFileAttributes: 0x10 (16)
This path available in Tree: True
Current node available in Tree: True
Watchable: True
FilenamesCaseSensitive: False

Re: Disable space check on custom copy for move operations in the same drive.

Posted: 13 Sep 2021 16:32
by admin
Thanks. In the meantime I found a better solution. In the next beta it should just work. Free space check is completely skipped now for move operations in the same drive. :)

Re: Disable space check on custom copy for move operations in the same drive.

Posted: 13 Sep 2021 16:45
by highend
What about copies (on the same drive)?

For mounted cloud volumes (e.g. through rclone) the size of such a reported volume isn't "unlimited" as well.

Maybe something like this tweak: ShowFolderSizesExclude=

where you could state the volumes where size is disregarded by XY...

Re: Disable space check on custom copy for move operations in the same drive.

Posted: 13 Sep 2021 17:20
by admin
There is no way in XY now to recognize those mounted cloud volumes?

Re: Disable space check on custom copy for move operations in the same drive.

Posted: 13 Sep 2021 19:48
by admin
I just made it a simple checkbox option.

Re: Disable space check on custom copy for move operations in the same drive.

Posted: 13 Sep 2021 23:59
by IppoKun
Tried out the new BETA and disabling the checkbox is working as intended! :appl:

Re: Disable space check on custom copy for move operations in the same drive.

Posted: 14 Sep 2021 09:04
by 1024mb
admin wrote: 13 Sep 2021 19:48 I just made it a simple checkbox option.
Can you add another one or change the one already present to only apply to move operations within the same drive? There have been times where I wanted to move a big file from a directory to another and because the drive had less than the filesize of free space it warned me.

Re: Disable space check on custom copy for move operations in the same drive.

Posted: 14 Sep 2021 09:11
by jupe
@1024mb: try reading the changelog, especially this part:
- Intra-volume moves do not check space anyway since this version so here
the setting is irrelevant.

Re: Disable space check on custom copy for move operations in the same drive.

Posted: 14 Sep 2021 09:25
by 1024mb
jupe wrote: 14 Sep 2021 09:11 @1024mb: try reading the changelog, especially this part:
- Intra-volume moves do not check space anyway since this version so here
the setting is irrelevant.
Ha! Thanks!