Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/examples/nametest.sh
diff options
context:
space:
mode:
authorBernie Innocenti <bernie@codewiz.org>2010-05-03 21:53:47 (GMT)
committer Bernie Innocenti <bernie@codewiz.org>2010-05-03 21:53:47 (GMT)
commit1030dc837b10a03a02a85d5504cbeec168ce49e2 (patch)
tree698eefa87ac437deaf36a4141b326f8ce7986692 /examples/nametest.sh
Import XaoS r489 (trunk after version 3.5)
Diffstat (limited to 'examples/nametest.sh')
-rwxr-xr-xexamples/nametest.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/nametest.sh b/examples/nametest.sh
new file mode 100755
index 0000000..00669b4
--- /dev/null
+++ b/examples/nametest.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+# This scripts decides if there are same names in different directories.
+# If yes, we should consider renaming one of the files.
+find -name '*.xpf' -printf "%f\n" | sort | uniq -c | grep -v " 1 "