Displaying 1 result from an estimated 1 matches for "new_pathname".
Did you mean:
get_pathname
2003 Jun 27
0
dealing with renamed files
...t; "$tmpfile"
for file in "$@" ; do
old_IFS="$IFS"
IFS='
'
for new_line in `cat "$file"` ; do
IFS="$old_IFS"
new_md5=`echo "$new_line" | cut -d' ' -f1`
new_pathname=`echo "$new_line" | cut -d' ' -f3-`
old_pathname=`grep -m1 "$new_md5" "$tmpfile" | \
cut -d' ' -f3-`
if [ "$old_pathname" ] ; then
mkdir -p `dirname "$new_pat...