cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

delete empty folders and old versions from working folder

delete empty folders and old versions from working folder

It would be a good feature to have the Vault Client able to remove empty folders and the old versions folder when checking files in.

The working folder gets particularly cluttered if users do not browse to the folder through windows and clear the junk. It also bloats and takes up significant unnecessary space that will never be freed unless the user has good housekeeping habits.

This would have to take files like dwfs and windows thumbs files, but otherwise if it could be implemented it would be a very useful tool.

5 Comments
scottmoyse
Mentor

This is what Workspace Sync is for.

Anonymous
Not applicable

I have read up on workspace sync and I see it is not part of vault basic. We have vault basic so do not have workspace sync.

I think if this feature already exists then it should be included in Vault Basic. As a data management application I would expect tools that help with file housekeeping to be part of the core features.

Anonymous
Not applicable

Autodesk is not in the business of automatically deleting files/folders.  That is what workspace sync was created for, it allows user interaction to perform delete / cleaning functions.  You could, outside of Vault, create a script that removes any empty folders.  But again, that allows for user interaction.

 

Another great reason to upgrade up from Vault Basic.

Anonymous
Not applicable

Autoesk is in the business of automatically deleting files and folders, hence the "Close files and delete working copies" button. I don't see any reason why this eature should not also delete folders that i leaves empty.

 

However, I have as you suggested created a script to delete empty folders in the vault working folder and optionally delete old versions folders. I have included it in case anyone else may find it useful for their own purposes.

 

@ECHO OFF
SET /P variable=[This program will delete empty folders. Would you also like to Delete Old Versions Y/N?]
set "Target=%USERPROFILE%\My Documents\Vault\" if "%variable%" == "Y" for /R "%Target%" %%i in (OldVersions\) do rd /s/q "%%i" if "%variable%" == "y" for /R "%Target%" %%i in (OldVersions\) do rd /s/q "%%i" for /f "delims=" %%i in ('dir "%Target%" /A:D /B /S ^| sort /r') do rd "%%i" 2>NUL >NUL cls echo cleanup complete PAUSE

 

Anonymous
Not applicable

Hi all

From a Vault Basic user. 

Thanks brotherkennyhmusk Smiley Very Happy

 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea