windows 只 copy 目錄,不 copy 檔案
在產生一顆新硬碟資料夾時,想要保留前二層的目錄名稱,而不要檔案,在網上找到了一個 win7 提供的好用指令
robocopy 來源 目的 /e /NOCOPY /LEV:2
/e :: 代表複製子資料夾,含空的資料夾
/NOCOPY :: 不複製檔案資訊
/LEV:n :: 只複製來源目錄的前 n 層
參考:http://blog.kkbruce.net/2011/03/tools-windows-7robocopy.html#.V0pcVyFRJfY
迴響
windows 只 copy 目錄,不 copy 檔案 | 豬窩
This paragraph gives clear idea in support of the new users of blogging, that in fact how to do blogging and site-building.
windows 只 copy 目錄,不 copy 檔案 | 豬窩
Very great post. I simply stumbled upon your blog and wanted
to say that I have truly enjoyed browsing your blog posts.
After all I'll be subscribing on your rss feed and I hope you write
once more soon!
windows 只 copy 目錄,不 copy 檔案 | 豬窩
What's Happening i am new to this, I stumbled upon this I've found It positively helpful and
it has aided me out loads. I am hoping to contribute & assist different
customers like its helped me. Great job.