1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh -ex # srcdn=destdn touch ./a/file1 mv ./a/file1 ./a/file1.renamed # different touch ./a/file2 mv ./a/file2 ./b