Bash script for dealing with Mercurial empty directory issue
I ran across this neat little command for adding files in empty directories (deals with mercurial directory issues).
find . -empty -type d | xargs --replace=EMPTYDIR touch "EMPTYDIR/.empty"
On a Mac is is:
find . -empty -type d | xargs -I EMPTYDIR touch "EMPTYDIR/.empty"
link: Blog » Blog Archive » Bash script for creating files in empty folders – Mercurial workaround
About this entry
You’re currently reading “Bash script for dealing with Mercurial empty directory issue,” an entry on _mindMeld
- Published:
- 8.30.09 / 4pm
- Category:
- Java, Software, Technology
- Tags:










View Comments
Jump to comment form | comments rss [?] | trackback uri [?]