从文件夹中选择的文件类型创建符号链接
我有一个包含许多不同类型文件的文件夹...但在这种情况下我想仅创建特定文件类型的文件(扩展名为 *.txt.mrg 的数据文件)的符号链接...i想要符号链接的文件名与原始文件相同...我该怎么做?我希望能够在一个命令中为该文件类型创建所有符号链接。
i have a folder with many different types of files...but i want to create a symbolic link of only files that are of a certain file type (the data files with extension *.txt.mrg) in this case...i want to have the same file names for the symbolic links as the original files...how do i do this? i want to be able to create all the symbolic links in one command for that file type.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
警告:要使这一行有效,您必须使用绝对路径。
Warning: to make this one-liner work, you must use absolute paths.