blob: 87345e4c178f1de4bc728b7800eaf642cd8c619b [file] [log] [blame]
# replace a directory by a file with tempname
mkdir $2 /2
mkdir $3 /2/3
mkfile $4 /2/3/4
snapshot
mkfile $1 /2/3.1
unlink /2/3/4
rmdir /2/3
rename /2/3.1 /2/3
snapshot