<commit_before>---
layout: post
title: Self-cleaning 'tmp' directory in Windows
date: 2017-01-08 10:00:00
---

I've recently migrated from Ubuntu 14 to Windows 10. One feature that I really
missed on Windows is the `tmp/` directory that automatically cleans itself up
upon reboot. On Ubuntu, I used `tmp/` instead of my Downloads folder and it
worked great. Here's how I've achieved the same behaviour on my Windows system.

### The target, the job<commit_msg>Fixed quotes in title<commit_after>---
layout: post
title: Self-cleaning &#8217;tmp&#8217; directory in Windows
date: 2017-01-08 10:00:00
---

I've recently migrated from Ubuntu 14 to Windows 10. One feature that I really
missed on Windows is the `tmp/` directory that automatically cleans itself up
upon reboot. On Ubuntu, I used `tmp/` instead of my Downloads folder and it
worked great. Here's how I've achieved the same behaviour on my Windows system.

### The target, the job
{'fraction_non_alphanumeric': 0.08297872340425531, 'fraction_numerical': 0.04680851063829787, 'mean_word_length': 4.286516853932584, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1786756', 'n_tokens_mistral': 316, 'n_tokens_neox': 255, 'n_words': 140}