<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 6 Gigabyte webdeploy folder? in Fusion Support Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/7963498#M177661</link>
    <description>&lt;P&gt;To test the problem again today, I opened&amp;nbsp;Fusion 360, received an "all set with the latest update" banner, and literally watched the webdeploy folder shrink before my eyes.&amp;nbsp; The production subfolder now contains a handful of folders on the order of kilobytes and only a single 1.3GB folder (which I'm guessing is much closer to the intended state of affairs).&amp;nbsp; I don't know what the fix was, but autodesk has my thanks for it.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Apr 2018 21:47:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-26T21:47:21Z</dc:date>
    <item>
      <title>6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/7960372#M177659</link>
      <description>&lt;P&gt;I'm running Fusion 360 Ultimate, version 2.0.4099, on Mac OS 10.11.6.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that the folder Library/Application Support/Autodesk/webdeploy was over 5GB in size, and literally just now, when I opened Fusion to check the version, the size grew by more than an additional Gigabyte.&amp;nbsp; While the "shared" folder within "webdeploy" is 1.42GB, the "production" folder is now 5.14GB (and it appears to be the one that grew in size when I opened Fusion).&amp;nbsp; In "production" are folders with long gibberish names, two of which have sizes measured in KB, and the rest of which are around 1.3GB each, this size being due roughly half and half to the "Helpers" and "Libraries" folders within.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this some sort of accidental duplication?&amp;nbsp; Can I safely delete some or all of these folders, and is there a way to prevent this from happening again?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your assistance.&amp;nbsp; Please let me know if there's any more information I can provide to be helpful.&amp;nbsp;&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 01:01:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/7960372#M177659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-26T01:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/7963478#M177660</link>
      <description>&lt;P&gt;I would not recommend clearing the folders. If anything you could clear your local cache files to reduce the size.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 21:39:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/7963478#M177660</guid>
      <dc:creator>ryan.bales</dc:creator>
      <dc:date>2018-04-26T21:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/7963498#M177661</link>
      <description>&lt;P&gt;To test the problem again today, I opened&amp;nbsp;Fusion 360, received an "all set with the latest update" banner, and literally watched the webdeploy folder shrink before my eyes.&amp;nbsp; The production subfolder now contains a handful of folders on the order of kilobytes and only a single 1.3GB folder (which I'm guessing is much closer to the intended state of affairs).&amp;nbsp; I don't know what the fix was, but autodesk has my thanks for it.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 21:47:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/7963498#M177661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-26T21:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8255390#M177662</link>
      <description>&lt;P&gt;I have the same problem. Under "webdeploy" folder I have 7 subfolders of more than 10GB. It happened to me once before but I honestly do not remember how I&amp;nbsp; managed to solve it. Now it happened again. What is the solution? Thank you.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;To test the problem again today, I opened&amp;nbsp;Fusion 360, received an "all set with the latest update" banner, and literally watched the webdeploy folder shrink before my eyes.&amp;nbsp; The production subfolder now contains a handful of folders on the order of kilobytes and only a single 1.3GB folder (which I'm guessing is much closer to the intended state of affairs).&amp;nbsp; I don't know what the fix was, but autodesk has my thanks for it.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;To test the problem again today, I opened&amp;nbsp;Fusion 360, received an "all set with the latest update" banner, and literally watched the webdeploy folder shrink before my eyes.&amp;nbsp; The production subfolder now contains a handful of folders on the order of kilobytes and only a single 1.3GB folder (which I'm guessing is much closer to the intended state of affairs).&amp;nbsp; I don't know what the fix was, but autodesk has my thanks for it.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Sep 2018 10:09:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8255390#M177662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-09T10:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8712438#M177663</link>
      <description>&lt;P&gt;I too have the same problem. &amp;nbsp;What is the solution? &amp;nbsp;Which directories/files under "&lt;SPAN&gt;~/Library/Application Support/Autodesk" can we delete?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Apr 2019 22:30:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8712438#M177663</guid>
      <dc:creator>stephen.greensides</dc:creator>
      <dc:date>2019-04-06T22:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8712445#M177664</link>
      <description>&lt;P&gt;One file that seems a likely candidate for deletion OR at least removal of the earlier entries is "&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;/Users/&amp;lt;USERNAME&amp;gt;/Library/Application Support/Autodesk/Web Services/Log/WebServices.log?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Apr 2019 22:35:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8712445#M177664</guid>
      <dc:creator>stephen.greensides</dc:creator>
      <dc:date>2019-04-06T22:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8763485#M177665</link>
      <description>&lt;P&gt;My webdeploy folder is 6.7gb.... The marked solution does me no good, as this is not magically fixing itself by closing and reopening Fusion.&lt;BR /&gt;&lt;BR /&gt;Anyone else find a solution to this?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 21:51:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8763485#M177665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-30T21:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8763512#M177666</link>
      <description>&lt;P&gt;All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reducing the size of this folder through manual deletion is bordering on very dangerous. The only safe thing to attempt would be to use the cleanup tool to remove Fusion 360 and then reinstall. The webdeploy folder is the installation folder for Fusion 360 and any information in there is likely tied to previous version or cached information tied to that installation version.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 22:05:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8763512#M177666</guid>
      <dc:creator>ryan.bales</dc:creator>
      <dc:date>2019-04-30T22:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8767091#M177667</link>
      <description>&lt;P&gt;What will happen to all my projects/designs?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 14:14:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8767091#M177667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-02T14:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8767101#M177668</link>
      <description>&lt;P&gt;Do you open them via the access panel and save them normally? Then nothing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Only cached local files would be removed - FWIW cached files are a manual process or the result of an incomplete save due to crash or other certain circumstances. I'm reasonably sure 99% of users save their files normally (on the cloud) and uninstalling and reinstalling will do nothing.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 14:16:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8767101#M177668</guid>
      <dc:creator>ryan.bales</dc:creator>
      <dc:date>2019-05-02T14:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8847796#M177669</link>
      <description>&lt;P&gt;I have been following the size of the WebDeploy directory and it goes up and down. &amp;nbsp;Nothing has been manually deleted and the directory is now down to 2.6 gig. without doing anything other than installing all Fusion 360 updates.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 17:23:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/8847796#M177669</guid>
      <dc:creator>stephen.greensides</dc:creator>
      <dc:date>2019-06-12T17:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/9743859#M177670</link>
      <description>&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;I had 5 folders with 2GB each on my MacBookPro with 256GB SSD and I started Fusion360 and closed it again, then checked the change date of the folder and deleted 3 folders which had old change dates. 3 Folder were left with 6 GB and then I started Fusion 360 again and closed it again. Then I had only 1 folder under "production" left with 3GB which is ok for me.&lt;/P&gt;&lt;P&gt;Hope it can help other users, because the current "Solution" is not really a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Sat, 12 Sep 2020 18:14:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/9743859#M177670</guid>
      <dc:creator>PeterObermeierFre</dc:creator>
      <dc:date>2020-09-12T18:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/9775984#M177671</link>
      <description>&lt;P&gt;This is still a problem with Fusion 360. Fusion 360 keeps what appears to be all the old installs/updates in the webdeploy folder and doesn't clear them out like it probably should. this means that dor every time they update fusion webdeploy grows to binarySize*numberOfUpdates. so from 2GB to 4 to 6 to 8....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is partly because it's using an ancient form of updates. some webbrowsers still use it as it allows them to update while using and just restart to update. For a big software like fusion this makes no sense and a proper delta update system is better, it also means you don't need to download the entire size of the binary every time there's an update, just the delta difference, and then the path file is applied ion the next startup. It takes so long to start anyway no one would know a difference, especially with the verification it spends minutes doing every time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And deleting the oldest folders in webdeploy except for the smallest one (which is just a shortcut and config files) won't harm anything, it's just old unused binary files.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 08:02:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/9775984#M177671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-30T08:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/9784111#M177672</link>
      <description>&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;I have now setup an over-night job to delete any folder here not used in the last 200 days.&lt;/P&gt;&lt;P&gt;Prior to this my over-night job used to check for duplicated files and delete the oldest of the most occurring file - but this no longer seems necessary. &amp;nbsp;Yours is much more efficient. &amp;nbsp;Again thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 10:42:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/9784111#M177672</guid>
      <dc:creator>stephen.greensides</dc:creator>
      <dc:date>2020-10-05T10:42:03Z</dc:date>
    </item>
    <item>
      <title>Code I now use to clean up after older installs</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/9844928#M177673</link>
      <description>&lt;P&gt;I decided that this was not good enough and so now use the following code (MacOS)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## clean out older Fusion 360 installations&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## if more than 2, then delete the oldest directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;targetDirectory="/Users/Steve/Library/Application Support/Autodesk/webdeploy/production"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;##find "$targetDirectory" -type d -maxdepth 1 -atime +200d -delete&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if [[ $(ls -ltr "$targetDirectory" | grep ^d | wc -l) -gt 2 ]]; then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;file2delete=$(ls -ltr "$targetDirectory" | grep ^d | head -1 | cut -b46-)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;rm -vrf "$targetDirectory""/""$file2delete"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;fi;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;by limiting it to 2 minimum, we make sure we do not delete too much and removing only the oldest each night soon catches up. &amp;nbsp;Feel free to change it to a while loop, if you want to be more&amp;nbsp;&lt;/SPAN&gt;aggressive.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 11:06:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/9844928#M177673</guid>
      <dc:creator>stephen.greensides</dc:creator>
      <dc:date>2020-11-04T11:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Code I now use to clean up after older installs</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/9889844#M177674</link>
      <description>&lt;P&gt;Much updated version (2020-11-23)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#######################################################&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## Clean up after AutoDesk's Fusion 360&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## Overnight job that runs regularly in the early hours&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#######################################################&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#######################################################&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## Trim the Log File&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## set limit of 10000 lines&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## if more, then delete the first 10 percent&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#######################################################&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;function trimLogFile () {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;local COMMAND=""&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;local LOG_FILE="/Users/""$USER""/Library/Application Support/Autodesk/Web Services/Log/WebServices.log"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;local LOG_FILE_LENGTH=0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;local MAX_LINES=10000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;local TEN_PERCENT=0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;local THE_DIFF=0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;echo "Log file is '""$LOG_FILE""'"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## count the number of lines and convert to integer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOG_FILE_LENGTH=$(cat "$LOG_FILE" | wc -l)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOG_FILE_LENGTH=$(expr "$LOG_FILE_LENGTH")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOG_FILE_LENGTH="$( echo $LOG_FILE_LENGTH)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## do we need to do anything?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if [[ "$LOG_FILE_LENGTH" -gt "$MAX_LINES" ]]; then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;echo "Log file too long at ""$LOG_FILE_LENGTH"" lines"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;THE_DIFF=$(expr "$LOG_FILE_LENGTH" "-" "$MAX_LINES")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;TEN_PERCENT=$(expr "$THE_DIFF" "/" "10")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;## build up command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;COMMAND="1,""$TEN_PERCENT""d"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sed -in "$COMMAND" "$LOG_FILE"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;echo "$TEN_PERCENT"" lines trimed"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;echo "Logfile length ok"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;fi;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;echo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;###################################################&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## clean out older Fusion 360 installations&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## if more than 2, then delete the oldest directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;###################################################&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;function deleteOldestInstall () {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;local dir2delete=""&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;local targetDirectory="/Users/""$USER""/Library/Application Support/Autodesk/webdeploy/production"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;echo "Target Directory is '""$targetDirectory""'"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;if [[ $(ls -ltr "$targetDirectory" | grep ^d | wc -l) -gt 2 ]]; then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;dir2delete=$(ls -ltr "$targetDirectory" | grep ^d | head -1 | rev | cut -d " " -f1 | rev)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;echo "Directory to delete='""$targetDirectory""/""$dir2delete""'"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;rm -vrf "$targetDirectory""/""$file2delete"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;echo "Only found directories = "$(ls -ltr "$targetDirectory" | grep ^d | wc -l)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;fi;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;echo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;######################################################&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## remove the first found none English project library&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## as we only use English&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;######################################################&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;function deleteNoneEnglish () {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;local dir2delete=""&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;echo "Checking for Non-english projects"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if [[ $(find "/Users/""$USER""/Library/Application Support/Autodesk" -type d -name "*.lproj" ! -name "Base.lproj" ! -name "English.lproj" ! -name "en.lproj" -print | wc -l) -gt 1 ]]; then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;dir2delete=$(find "/Users/""$USER""/Library/Application Support/Autodesk" -type d -name "*.lproj" ! -name "Base.lproj" ! -name "English.lproj" ! -name "en.lproj" -print | head -1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;rm -frv "$dir2delete"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;echo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;echo "$dir2delete"" Deleted"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;fi;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;echo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#######&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## main&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#######&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;echo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;deleteNoneEnglish&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;deleteOldestInstall&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;trimLogFile&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## unwanted files&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;find "/Users/""$USER""/Library/Application Support/Autodesk" -type f -name ".DS_Store" -print -delete&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;echo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;echo "Unwanted files deleted"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;echo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## unwanted empty directories&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;##&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;find "/Users/""$USER""/Library/Application Support/Autodesk" -type d -empty -atime +100d -mindepth 1&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;-print -delete&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;echo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;echo "Old empty directories deleted"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;echo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;####&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# end&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#####&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;exit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 18:24:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/9889844#M177674</guid>
      <dc:creator>stephen.greensides</dc:creator>
      <dc:date>2020-11-23T18:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/10354575#M177676</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I recently encountered the same issue except my folder was 50.2 GB in size.&lt;BR /&gt;Solution is quite straight forward.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This folder has the dump of all the crashed/unsaved designs/deigns not yet uploaded to the cloud.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To sort this out without tampering with installation files, it is necessary to clear cache data as shown below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krishtechnoconsultants_0-1622527990895.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/925279i9F89B0F5111CA684/image-size/medium?v=v2&amp;amp;px=400" role="button" title="krishtechnoconsultants_0-1622527990895.png" alt="krishtechnoconsultants_0-1622527990895.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will restart Fusion , but at the end of it, you will be smiling at all the space you made.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 06:17:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/10354575#M177676</guid>
      <dc:creator>krishtechnoconsultants</dc:creator>
      <dc:date>2021-06-01T06:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/11088755#M177677</link>
      <description>&lt;P&gt;I just wanna mention that my folder hits &lt;STRONG&gt;146 GB &lt;span class="lia-unicode-emoji" title=":flushed_face:"&gt;😳&lt;/span&gt;&lt;BR /&gt;&lt;/STRONG&gt;Clearing Cache didnt helped.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 21:50:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/11088755#M177677</guid>
      <dc:creator>tylonhhautodesk</dc:creator>
      <dc:date>2022-04-06T21:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/11089827#M177678</link>
      <description>&lt;P&gt;Have you logged out of everything and done a complete re-boot - sometimes helps - as does my script above&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 09:50:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/11089827#M177678</guid>
      <dc:creator>stephen.greensides</dc:creator>
      <dc:date>2022-04-07T09:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: 6 Gigabyte webdeploy folder?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/11089931#M177679</link>
      <description>&lt;P&gt;Thank you for this information. I was not aware that there is a way to clear the cache.&lt;/P&gt;&lt;P&gt;Before clearing I had 4 GB in my Autodesk web deploy folder and after clearing and restart I have a new folder in Webdeploy production with 3.3GB which is resulting in 7 GB, which was a real surprise.&lt;/P&gt;&lt;P&gt;Looks like this cache clearing is not a solution or it is a solution for another problem.&lt;/P&gt;&lt;P&gt;Anyway, good to know that the functionality is there.&lt;/P&gt;&lt;P&gt;I will continue with a manual deletion of old production files.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 10:39:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/6-gigabyte-webdeploy-folder/m-p/11089931#M177679</guid>
      <dc:creator>PeterObermeierFre</dc:creator>
      <dc:date>2022-04-07T10:39:12Z</dc:date>
    </item>
  </channel>
</rss>

