search for: md5_rename_tmp

Displaying 1 result from an estimated 1 matches for "md5_rename_tmp".

2003 Jun 27
0
dealing with renamed files
...Rsync could then rename the files remotely and then do the normal update. Here is a shellscript implementation: #!/bin/sh TO_DO=' - Secure shell script - Find out how to secure shell scripts - Do filename escaping beforehand - Provide Tar-like "-C" command line option ' tmpfile=md5_rename_tmp find -type f -print0 | xargs -0 md5sum > "$tmpfile" for file in "$@" ; do old_IFS="$IFS" IFS=' ' for new_line in `cat "$file"` ; do IFS="$old_IFS" new_md5=`echo "$new_line"...