有没有办法在本地和远程之间映射 rsync 处理的文件名?

发布于 2025-01-13 23:54:45 字数 143 浏览 2 评论 0原文

我使用 rsync 将照片从各种智能手机复制到中央照片集,但我将中央集锦中的照片按年份分类。然而,这些手机都使用一个通用的 DCIM 目录来存储所有年份的照片。我想告诉 rsync ???_YYYY* 文件属于 YYYY/ 目录下,但我没有看到一个干净的方法来做到这一点?

I use rsync to copy photos from various smartphones into a central photo collection, but I keep photos in my central collection sorted into per-year directories. However, the phones all use a common DCIM directory for photos of all years. I'd like to tell rsync that ???_YYYY* files belong under the YYYY/ directory, but I don't see a clean way to do that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文