0
Linux 2.6.18-194.el5 x86_64
我有两个文件夹与具有相同结构的文件:UNIX:移动文件和文件夹保持结构
我想所有文件从FTP_UPD移动到FTP保持文件夹结构。
FTP_UPD
-- cat1
-- und3
-- und4
-- cat2
-- und1
-- und2
FTP
-- cat1
-- und3
-- und4
-- cat2
-- und1
-- und2
我tryed与
rsync -a --progress --remove-source-files FTP_UPD FTP
,但我得到的错误:
rsync: --remove-source-files: unknown option
rsync error: syntax or usage error (code 1) at main.c(1231) [client=2.6.8]
也许任何其他的选择吗? 请帮我这个。
你为什么不使用'mv'?为什么'rsync'? – 2014-10-22 12:11:45
@ Jean-BaptisteYunès大概是目标目录已经存在。 – nos 2014-10-22 13:30:25