Manual talk:DumpUploads.php

Fixed example
Export images: php maintenance/dumpUploads.php | sed -E 's#.*local-public/(.*)#images/\1#' | xargs tar cf backup_files.tar Import images: mkdir tmp tar xf backup_files.tar -C tmp cd tmp find -type f -exec cp {}. \; php ../maintenance/importImages.php ./

--Dracorp (talk) 10:44, 17 December 2013 (UTC)