开发者

move contents of subfolders in archive mirror for video downloads

I need a script (could of course easily write one , but maybe there's a comfortable one existing) to move away (archive) contents of subfolders of downloads of in may case miro video podcast download software;

The subfolders should be created on another disk in same structure and the contents moved and the source folders开发者_如何学JAVA emptied but kept so miro could continue store the downloads.

The reason I need it, is I want to keep downloading all the time and need just the (smaller) internal disk running and the terabyte store can be powered off.


On linux or unix use rsync with the --remove-sent-files option:

rsync -av --remove-sent-files test-src/ test-dest
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜