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