summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-05-06 22:21:45 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-05-06 22:21:45 +0200
commita71e128819c2b36fd278d21bee587b66e12d8fa6 (patch)
tree5c92b8e3e413c7d0878abc9f288873ea20fb8745
parentbb86c8cf11fef4cf46adc7368dc8a7cda953c1ab (diff)
hashl(1): Fix leeching example
-rwxr-xr-xbin/hashl3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/hashl b/bin/hashl
index d65ff33..210a58b 100755
--- a/bin/hashl
+++ b/bin/hashl
@@ -523,8 +523,7 @@ can now use it to check if you (very probably) already have any remote file.
For that, you only need to leech the first 4MB of every file on the share, and
not the whole file. For example:
-C<< for f (/tmp/mnt/ext/**/*(.)); hashl new-file $f && cp -v --parents $f
-/media/videos/incoming/ || echo skip $f >>
+C<< cd /tmp/mnt/ext; hashl copy /media/videos/incoming >>
=head2 EXTERNAL HARD DISK