Linux mv 若是目標文件存在則提示覆蓋

root@www ~]# mv [-fiu] source destination 
[root@www ~]# mv [options] source1 source2 source3 .... directory 
選項與參數: -f :force 強制癿意忠,若是目標檔案已經存在,丌會詢問而直接覆蓋; 
-i :若目標檔案 (destination) 已經存在時,就會詢問是否覆蓋! 
-u :若目標檔案已經存在,丏 source 比較新,纔會更新 (update)
相關文章
相關標籤/搜索