Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Staging Folder is HUGE!

Hi -


I provide computer support to others.

I have a client who is exhausting his disk space.

It turns out it it the icloud staging folder..

His icloud folder is 29.8 GB.

The icloud 'staging' folder is about 400 GB.

This folder is located at c:\users\username\appdata\local\apple inc\iCloudDrive\Staging.


Can anyone suggest a solution? I need to recover some space and short of just whacking this, I'd like to fix it.


Thanks.


Bill

icloud-OTHER, Windows 7

Posted on Jun 6, 2016 7:53 PM

Reply
Question marked as Best reply

Posted on Dec 9, 2017 3:24 PM

great batch script. There is no reason users should have to do this however, just because I own a windows computer and Macs doesn't mean I deserve a supbar experience on windows using apple software. Amazing that it isn't fixed yet.

4 replies

Oct 1, 2017 11:01 AM in response to bdurney

I found online details to create a batch file that will delete all staging files and folders. I used windows scheduler to empty the directory every night at midnight . Name of batch file DelStaging.bat. Worked both on windows 7 and windows 10.


contents of DelStaging.bat


:substitute [USERNAME] with your username as listed in c:\users
:use windows scheduler to run batch file to delete all staging files and folders once a day


set folder="C:\users\[USERNAME]\appdata\local\apple inc\iclouddrive\staging"
cd /d %folder%
for /F "delims=" %%i in ('dir /b') do (rmdir "%%i" /s/q || del "%%i" /s/q)

Staging Folder is HUGE!

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.