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
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)

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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 Account.