对我来说看起来很容易但很难。idx 1、2、3 的 src/dest 路径具有相同的值。所以我只需要 1 行给他们。
idx Src_path dest_path code
1 /abc/aaa.txt /abc/dec_aaa.txt 01
2 /abc/aaa.txt /abc/dec_aaa.txt 02
3 /abc/aaa.txt /abc/dec_aaa.txt 03
4 /abc/aaa.txt /abc2/dec_aaa.txt 04
5 /abc/bbb.txt /abc2/dec_bbb.txt 01
6 /abc/ccc.txt /abc2/dec_ccc.txt 01
the result rows should be like below..
idx Src_path dest_path code
3 /abc/aaa.txt /abc/dec_aaa.txt 03
4 /abc/aaa.txt /abc2/dec_aaa.txt 04
5 /abc/bbb.txt /abc2/dec_bbb.txt 01
6 /abc/ccc.txt /abc2/dec_ccc.txt 01
有点..对我来说很难..