# Magicfile to delet ".old" data/ backups

**URL:** <https://forum.universal-robots.com/t/magicfile-to-delet-old-data-backups/27394>\
**Category:** URScript\
**Created:** [March 15, 2023, 7:56am UTC](https://forum.universal-robots.com/t/magicfile-to-delet-old-data-backups/27394 "2023-03-15T07:56:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eikefranke](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@eikefranke](https://forum.universal-robots.com/u/eikefranke)\
**Post date:** [March 15, 2023, 7:56am UTC](https://forum.universal-robots.com/t/magicfile-to-delet-old-data-backups/27394/1 "2023-03-15T07:56:16Z")

</div>

Hello there,

is there a magic file, that can delete the Backups?

and do you have other interesting magicfiles?

---

<div class="post-metadata">

**Author:** ![eric.feldmann](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@eric.feldmann](https://forum.universal-robots.com/u/eric.feldmann)\
**Post date:** [March 15, 2023, 12:29pm UTC](https://forum.universal-robots.com/t/magicfile-to-delet-old-data-backups/27394/2 "2023-03-15T12:29:39Z")

</div>

> [@EASY: Method to Clean Up Filespace on Polyscope](https://forum.universal-robots.com/t/easy-method-to-clean-up-filespace-on-polyscope/14291/46):
>
> [Magic Files.zip](https://forum.universal-robots.com/uploads/short-url/kkQg9Gtx9tyNrpkd9AjbUIfXXry.zip) (1.5 KB) Here’s the files. In here is the Backup All Programs magic file, which I highly advise running first just in case. The second is the removeOld magic file which removes any file that has “.old” in its name. So hopefully you didn’t name one of your actual programs with that in its name. Per UR’s request: Custom magic files are discouraged so this is “use at your own risk” yadda yadda. I’ve used it on my robots here and it’s worked fine, but you never know. That’s why I’d…

Here’s one I wrote that I and others have used in the past to delete the .Old files off the system.
