<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: 10 practical examples of Touch command on Linux	</title>
	<atom:link href="https://www.binarytides.com/linux-touch-command/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.binarytides.com/linux-touch-command/</link>
	<description>News, Technology, Entertainment and more</description>
	<lastBuildDate>Wed, 04 Jan 2023 10:04:28 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: Chancletto		</title>
		<link>https://www.binarytides.com/linux-touch-command/comment-page-1/#comment-314512</link>

		<dc:creator><![CDATA[Chancletto]]></dc:creator>
		<pubDate>Sat, 06 Mar 2021 03:40:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7923#comment-314512</guid>

					<description><![CDATA[The best way to explain this is to start by explaining what exactly are access, modification, change, creation and birth time]]></description>
			<content:encoded><![CDATA[<p>The best way to explain this is to start by explaining what exactly are access, modification, change, creation and birth time</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rajasekhar		</title>
		<link>https://www.binarytides.com/linux-touch-command/comment-page-1/#comment-161386</link>

		<dc:creator><![CDATA[Rajasekhar]]></dc:creator>
		<pubDate>Fri, 29 Jun 2018 17:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7923#comment-161386</guid>

					<description><![CDATA[Hi,
I want to create sequence from 1..10 but I don&#039;t want 2 &#038; 5 number files is there any way to create particular sequence files]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
I want to create sequence from 1..10 but I don&#8217;t want 2 &amp; 5 number files is there any way to create particular sequence files</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex Wang		</title>
		<link>https://www.binarytides.com/linux-touch-command/comment-page-1/#comment-85667</link>

		<dc:creator><![CDATA[Alex Wang]]></dc:creator>
		<pubDate>Fri, 24 Jun 2016 10:03:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7923#comment-85667</guid>

					<description><![CDATA[very good, the article is very clearly and the script very smart.]]></description>
			<content:encoded><![CDATA[<p>very good, the article is very clearly and the script very smart.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: peniscola		</title>
		<link>https://www.binarytides.com/linux-touch-command/comment-page-1/#comment-78719</link>

		<dc:creator><![CDATA[peniscola]]></dc:creator>
		<pubDate>Wed, 25 May 2016 15:49:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7923#comment-78719</guid>

					<description><![CDATA[Actually the {A..Z} syntaxes have nothing to do with touch, but with your shell expansion capabilities.
Try this with dash, for an example where it doesn&#039;t work:

bash:/tmp/test$ dash
$ touch {A..Z}
$ ls
{A..Z}]]></description>
			<content:encoded><![CDATA[<p>Actually the {A..Z} syntaxes have nothing to do with touch, but with your shell expansion capabilities.<br />
Try this with dash, for an example where it doesn&#8217;t work:</p>
<p>bash:/tmp/test$ dash<br />
$ touch {A..Z}<br />
$ ls<br />
{A..Z}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ricardo Naranjo		</title>
		<link>https://www.binarytides.com/linux-touch-command/comment-page-1/#comment-76775</link>

		<dc:creator><![CDATA[Ricardo Naranjo]]></dc:creator>
		<pubDate>Mon, 09 May 2016 23:39:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7923#comment-76775</guid>

					<description><![CDATA[Practical is when you combine touch with find command... if you are synchronizing two computers you may touch a file then work lot into of files and when you need to synchronize you use the command:

tar jcvf modified_files.tar.bz2 `find ~ -newer ~/touched_file.dat`

Then yoy may untar this modified_files into the other computer and BINGO!]]></description>
			<content:encoded><![CDATA[<p>Practical is when you combine touch with find command&#8230; if you are synchronizing two computers you may touch a file then work lot into of files and when you need to synchronize you use the command:</p>
<p>tar jcvf modified_files.tar.bz2 `find ~ -newer ~/touched_file.dat`</p>
<p>Then yoy may untar this modified_files into the other computer and BINGO!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: TR Rudkin		</title>
		<link>https://www.binarytides.com/linux-touch-command/comment-page-1/#comment-76772</link>

		<dc:creator><![CDATA[TR Rudkin]]></dc:creator>
		<pubDate>Mon, 09 May 2016 23:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7923#comment-76772</guid>

					<description><![CDATA[I have another., generally used as part of a build process  
 track releases just by the time portion of the file 
   touch -d &#039;02:05&#039;  my_script 

marks the file  as second version, fifth revision.]]></description>
			<content:encoded><![CDATA[<p>I have another., generally used as part of a build process<br />
 track releases just by the time portion of the file<br />
   touch -d &#8217;02:05&#8242;  my_script </p>
<p>marks the file  as second version, fifth revision.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Drive-By Comment		</title>
		<link>https://www.binarytides.com/linux-touch-command/comment-page-1/#comment-76664</link>

		<dc:creator><![CDATA[Drive-By Comment]]></dc:creator>
		<pubDate>Mon, 09 May 2016 02:42:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7923#comment-76664</guid>

					<description><![CDATA[touch is a nice command :D

Pretty sure
# Create 10K files
$ touch {1..10}{1..1000}
doesn&#039;t give you a nice tidy range of numbers like you might/would/could want (it&#039;s not multiplication!). It should give you a weird mix where your first number is 11 and your 10000th number will be named 101000 and because there are no leading zeros it wont sort nicely either. Which can be all fine and dandy.

I haven&#039;t bothered to try {1..10000} but maybe that will actually work and give you what&#039;s intended (and faster to type). Still no leading zeros though.

However instead one could do
$ touch {0..9}{0..9}{0..9}{0..9}
because each individual digit is 0 to 9 (it is a regular expression after all). First file is 0000 and 10000th file is 9999.

Or if you&#039;re allergic to counting from 0 and/or do NOT want tidy numbers with leading zeros and for whatever reason {1..10000} doesn&#039;t work (because I didn&#039;t test that one) then one can do
$ for x in `seq 1 10000`; do touch $x; done   

(No I didn&#039;t test it to 10000, I did something like &quot;for i in `seq 2 12`; do touch $i.okay; done&quot; instead).

Anyway it all depends/it might not be important at all and one just want 10000 files named whatever :)

*speeds off into the distance* :)]]></description>
			<content:encoded><![CDATA[<p>touch is a nice command :D</p>
<p>Pretty sure<br />
# Create 10K files<br />
$ touch {1..10}{1..1000}<br />
doesn&#8217;t give you a nice tidy range of numbers like you might/would/could want (it&#8217;s not multiplication!). It should give you a weird mix where your first number is 11 and your 10000th number will be named 101000 and because there are no leading zeros it wont sort nicely either. Which can be all fine and dandy.</p>
<p>I haven&#8217;t bothered to try {1..10000} but maybe that will actually work and give you what&#8217;s intended (and faster to type). Still no leading zeros though.</p>
<p>However instead one could do<br />
$ touch {0..9}{0..9}{0..9}{0..9}<br />
because each individual digit is 0 to 9 (it is a regular expression after all). First file is 0000 and 10000th file is 9999.</p>
<p>Or if you&#8217;re allergic to counting from 0 and/or do NOT want tidy numbers with leading zeros and for whatever reason {1..10000} doesn&#8217;t work (because I didn&#8217;t test that one) then one can do<br />
$ for x in `seq 1 10000`; do touch $x; done   </p>
<p>(No I didn&#8217;t test it to 10000, I did something like &#8220;for i in `seq 2 12`; do touch $i.okay; done&#8221; instead).</p>
<p>Anyway it all depends/it might not be important at all and one just want 10000 files named whatever :)</p>
<p>*speeds off into the distance* :)</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
