<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Path-Tiny on Hashbang.ca</title>
		<link>https://hashbang.ca/tag/path-tiny</link>
		<description>Recent content in Path-Tiny on Hashbang.ca</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Fri, 19 Apr 2013 19:11:00 -0400</lastBuildDate>
		
			<atom:link href="https://hashbang.ca/tag/path-tiny/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Introducing mvr: like mv, but clever</title>
				<link>https://hashbang.ca/post/introducing-mvr-like-mv-but-clever</link>
				<pubDate>Fri, 19 Apr 2013 19:11:00 -0400</pubDate>
				<guid>https://hashbang.ca/post/introducing-mvr-like-mv-but-clever/</guid>
				<description>&lt;p&gt;I wanted to move a large number of files from one directory to another, but the target directory already had many of the filenames already used. This is a common enough problem &amp;ndash; digital cameras use &lt;code&gt;DSC#&lt;/code&gt;, video downloaders often append numbers to get a unique filename, and so on. In both those examples, the sequence restarts if you empty the program&amp;rsquo;s work directory. So, you&amp;rsquo;ll end up with &lt;code&gt;DSC0001.jpg&lt;/code&gt; every time you empty your camera&amp;rsquo;s memory card. If you&amp;rsquo;re trying to move such files into a single directory, you&amp;rsquo;ll get conflicts every time.&lt;/p&gt;&#xA;&lt;p&gt;Instead of manually renaming the files before transferring them, I wrote a simple script to give each file a unique name in the destination directory.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
