<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>autotrash Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/autotrash/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 26 Mar 2019 15:10:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to Automatically Empty the Trash in Ubuntu</title>
		<link>https://www.osradar.com/how-to-automatically-empty-the-trash-in-ubuntu/</link>
					<comments>https://www.osradar.com/how-to-automatically-empty-the-trash-in-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[Mel K]]></dc:creator>
		<pubDate>Tue, 26 Mar 2019 15:10:39 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[autotrash]]></category>
		<category><![CDATA[autotrash Ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11608</guid>

					<description><![CDATA[<p>In the event that you need to set your Ubuntu framework to consequently deal with your framework Trash over a specific timeframe, you can make utilization of the order line utility called autotrash. Autotrash is an utility that looks in a Trash envelope for data on its substance and after that cleanses a piece of [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-automatically-empty-the-trash-in-ubuntu/">How to Automatically Empty the Trash in Ubuntu</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="text-align: left;">In the event that you need to set your Ubuntu framework to consequently deal with your framework Trash over a specific timeframe, you can make utilization of the order line utility called autotrash. Autotrash is an utility that looks in a Trash envelope for data on its substance and after that cleanses a piece of the rubbish contingent upon your predetermined choices. In this article, we will disclose how to introduce, look for help on, and utilize the autotrash utility. We will expand on the strategy by displaying a few models that will assist you with the generally utilized elements of this utility. We have run the directions and methods referenced in this article on a Ubuntu 18.04 LTS framework.<br />
Install Autotrash through the Command line We will install the autotrash command line utility through the Terminal application. You can launch the<br />
Terminal either through the system application launcher search</p>
<p style="text-align: left;"><img loading="lazy" class="aligncenter wp-image-11610 size-full" src="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-10-12.png" alt="" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-10-12.png 1366w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-10-12-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-10-12-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-10-12-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-10-12-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-10-12-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-10-12-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><br />
or the Ctrl+Alt+T shortcut. Please note that only an authorized user can add/update, remove and configure software in Ubuntu.</p>
<p style="text-align: left;"><strong>Step1: Update your system’s current repositories index</strong></p>
<p style="text-align: left;">In order to install the latest version of a software available in Ubuntu’s Internet repositories, your system’s repository index needs to be up-to-date.Run the following command as sudo in order to update your system’s current repository index with the<br />
help of the Internet.</p>
<pre style="text-align: left;"><strong>$ sudo apt-get update</strong></pre>
<p style="text-align: left;">The system ask you for the password of sudo to get install the updates. Enter the password and your Terminal will take action.</p>
<p style="text-align: left;"><img loading="lazy" class="aligncenter wp-image-11611 size-full" src="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-12-57.png" alt="" width="734" height="486" srcset="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-12-57.png 734w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-12-57-300x199.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-12-57-696x461.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-12-57-634x420.png 634w" sizes="(max-width: 734px) 100vw, 734px" /></p>
<p style="text-align: left;">Your system will be updated if there is any update required terminal look like this</p>
<p style="text-align: left;"><img loading="lazy" class="aligncenter wp-image-11612 size-full" src="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-18-29.png" alt="" width="733" height="483" srcset="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-18-29.png 733w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-18-29-300x198.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-18-29-696x459.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-18-29-637x420.png 637w" sizes="(max-width: 733px) 100vw, 733px" /></p>
<p style="text-align: left;"><strong>Step 2: Install autotarsh</strong><br />
Now, you can install the autotrash utility by running the following command as sudo in your Terminal application:</p>
<pre style="text-align: left;"><strong>$ sudo apt-get install autotrash</strong></pre>
<p style="text-align: left;"><img loading="lazy" class="aligncenter wp-image-11613 size-full" src="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-20-21.png" alt="" width="734" height="487" srcset="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-20-21.png 734w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-20-21-300x199.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-20-21-696x462.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-20-21-633x420.png 633w" sizes="(max-width: 734px) 100vw, 734px" /></p>
<p style="text-align: left;">The system prompt you with a Y/N option before starting the installation procedure. Please enter Y to continue.<br />
<strong>Step 3: Verify autotrash installation</strong><br />
You can check the version number of your installed autotrash software and also verify if it is indeed installed on your system. Run the following command to do so:</p>
<pre style="text-align: left;"><strong>$ autotrash --version</strong></pre>
<p style="text-align: left;">Or,</p>
<pre style="text-align: left;"><strong>$ autotrash -V</strong></pre>
<p style="text-align: left;"><img loading="lazy" class="aligncenter wp-image-11614 size-full" src="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-23-55.png" alt="" width="735" height="484" srcset="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-23-55.png 735w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-23-55-300x198.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-23-55-696x458.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-23-55-638x420.png 638w" sizes="(max-width: 735px) 100vw, 735px" /></p>
<p style="text-align: left;">You are now ready to use autotrash on your Ubuntu.<br />
How to use autotrash? (with examples)<br />
The autotrash help will tell you all you can do with this application. You can view the help as follows:</p>
<pre style="text-align: left;"><strong>$ autotrash --help</strong></pre>
<p style="text-align: left;"><img loading="lazy" class="aligncenter wp-image-11615 size-full" src="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-25-31.png" alt="" width="732" height="485" srcset="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-25-31.png 732w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-25-31-300x199.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-25-31-696x461.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-25-31-634x420.png 634w" sizes="(max-width: 732px) 100vw, 732px" /></p>
<p style="text-align: left;">For even more detailed information, you can view the manpage of autotrash by using the following command:</p>
<pre style="text-align: left;"><strong>$ man autotrash</strong></pre>
<p style="text-align: left;"><img loading="lazy" class="aligncenter wp-image-11616 size-full" src="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-27-41.png" alt="" width="733" height="489" srcset="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-27-41.png 733w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-27-41-300x200.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-27-41-696x464.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-27-41-630x420.png 630w" sizes="(max-width: 733px) 100vw, 733px" /></p>
<p style="text-align: left;">Now we will present some examples that will elaborate on how you can make the best use of this utility:</p>
<p style="text-align: left;">Example 1: Delete Files older than x number of days<br />
This is the most broadly utilized element of autotrash. You can utilize the accompanying order sentence structure to consequently evacuate the records living in your framework junk for x number of days:</p>
<pre style="text-align: left;"><strong>$ autotrash -d [days]</strong></pre>
<p style="text-align: left;">For example, the following command will remove the files that have completed their 30 days in the trash can.</p>
<pre style="text-align: left;"><strong>$ autotrash -d 30</strong></pre>
<p style="text-align: left;"><img loading="lazy" class="aligncenter wp-image-11617 size-full" src="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-29-22.png" alt="" width="628" height="127" srcset="https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-29-22.png 628w, https://www.osradar.com/wp-content/uploads/2019/03/Screenshot-from-2019-03-25-11-29-22-300x61.png 300w" sizes="(max-width: 628px) 100vw, 628px" /><br />
This gives you enough time to restore any files that you might wish to, during 30 days.The accompanying use of the direction gives you a chance to apply this component for your destroyed<br />
documents as well as erased records of the considerable number of clients utilizing the framework:</p>
<pre style="text-align: left;"><strong>$ autotrash -td [days]</strong></pre>
<p style="text-align: left;">Example:</p>
<pre style="text-align: left;"><strong>$ autotrash -td 10</strong></pre>
<p style="text-align: left;">Example 2: Delete files based on free-space left Max-free<br />
You can possibly utilize autotrash to cleanse records if there is not as much as M megabytes of free space left at the refuse area. For instance, on the off chance that you set this to 1024, at that point autotrash will possibly begin to work if there is under 1GB of free space in the waste. Till that time, autotrash will simply exit ordinarily without filtering the Trash catalog.<br />
Example</p>
<pre style="text-align: left;"><strong>$ autotrash --max-free 1024 -d 30 Min-free</strong></pre>
<p style="text-align: left;">Similarly, you can use autotrash to make sure there is a minimum of M megabytes of free space.<br />
Example</p>
<pre style="text-align: left;"><strong>$ autotrash --min-free 512</strong></pre>
<p style="text-align: left;">You can even join the two direction to ensure that autotrash begins perusing the rubbish in the event that there is under 1 GB of free space, and after that keep a mind. The order will at that point expel documents more seasoned than 10 days and furthermore evacuate additional records to guarantee that 512 MB of room is constantly accessible in the garbage.</p>
<pre style="text-align: left;"><strong>$ autotrash --max-free 1024 --min-free 512 -d 10</strong></pre>
<p style="text-align: left;">Example 3: Delete M number of megabytes<br />
You can utilize the utility to cleanse at any rate M number off megabytes, erasing most seasoned waste expansion first. This element utilizes junk passages instead of the individual files.This implies that if your most established destroyed thing is a 1GB index, and you demand at any rate 10MB to be expelled (M=10), autotrash will evacuate 512 MB.</p>
<pre style="text-align: left;"><strong>$ autotrash –delete M</strong></pre>
<p style="text-align: left;">Example</p>
<pre style="text-align: left;"><strong>$ autotrash --delete 512</strong></pre>
<p style="text-align: left;">Presently you don&#8217;t have to stress over space wastage on your framework due to the framework garbage The autotrash utility will consequently deal with clearing your undesirable records dependent on your characterized criteria.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-automatically-empty-the-trash-in-ubuntu/">How to Automatically Empty the Trash in Ubuntu</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-automatically-empty-the-trash-in-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
