¿如何收集一堆特定文件并复制它们? [英] ¿How to collect a bunch of specific files and copy them?

查看:95
本文介绍了¿如何收集一堆特定文件并复制它们?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SCREENSHOT

请先打开屏幕截图,谢谢:P

我有一个任务要做,我有一个.txt文件,其中列出了我需要使用的文件的位置

我想收集所有文件,然后将它们复制到新位置,它们的文件混合在一起

在包含其他文件的文件夹中,例如,我需要"C:\ texture \ Çʵå¹Ù´Ú \prt_ÃÊ¿ø01.bmp"文件为

复制到使用同一文件夹的新位置,我想进入"C:\ New Location \ texture \ Çʵå¹Ù´Ú \prt_ÃÊ¿ø01.bmp"

它必须在新位置也创建这两个文件夹,如果一行上有3个文件夹,那么它也应该创建它们.

我喜欢5个.txt文件,每个文件列出100个文件,我可以手动执行此操作,但要花很多时间

完成一个文件的文件传输,有没有办法一次完成所有操作?或至少.txt文件一个.txt文件并执行复制?

我有什么选择?


注意:不是开发人员,而是普通计算机用户,因此,幸运的是,我想逐步解决如何继续进行操作:D

SCREENSHOT

Please open the screenshot first, thank you :P

Hi, i have a task to do, i have a .txt file with a list of the locations of the files i need to use

and i would like to collect all of them then copy them into a new location, they files are mixed

in folders with other files, for example i need "C:\texture\Çʵå¹Ù´Ú\prt_ÃÊ¿ø01.bmp" file to be

copied in the new location using the same folder, i''d like to go in "C:\New Location\texture\Çʵå¹Ù´Ú\prt_ÃÊ¿ø01.bmp"

it would have to create those two folders too in the new location, if there were 3 folders on the line, then it should create them too.

i have like 5 .txt files listing me like 100 files each one, i could do this manually but it would take me a lot of hours

to finish transfering file by file, is there way to do it all in one shot? or at least .txt file by .txt file and execute copying?

what are my options?


NOTE: im not a developer, just a regular computer user, so if luckily i get an anwser i''d like step by step how to proceed :D

推荐答案

有一些脚本可以帮助您完成此操作(例如,此处 [ ^ ]),但是使用此方法意味着您应该可以轻松运行脚本.
There are some scripts that could help you do this (for e.g. here[^]), but using this means you should be comfortable running a script.


其中一种方法是在批处理文件中对其进行编程.另一种方法是使用Windows PowerShell.

请参阅:
http://en.wikipedia.org/wiki/Batch_file#Windows_NT [ http://en.wikipedia.org/wiki/Windows_PowerShell [ http://en.wikipedia.org /wiki/Orthodox_file_manager [ ^ ]),尤其是TotalCommander ,请参见 http://en.wikipedia.org/wiki/Total_Commander [ http://www .ghisler.com/ [ ^ ].

在支付注册费用之前,您可以无限制地免费使用此产品.常规的Windows资源管理器完全不再使用.文件操作(以及更多功能)确实非常强大,可能足以满足您的目的.

—SA
One of the ways is to program it in the batch file. Another way is using Windows PowerShell.

See:
http://en.wikipedia.org/wiki/Batch_file#Windows_NT[^],
http://en.wikipedia.org/wiki/Windows_PowerShell[^].

Chances are, you could also do it in a more graphics way using the popular shareware orthodox file manager (http://en.wikipedia.org/wiki/Orthodox_file_manager[^]), especially TotalCommander, see http://en.wikipedia.org/wiki/Total_Commander[^], http://www.ghisler.com/[^].

You can use this product for free for unlimited period of time before you pay for registration. The regular Windows Explorer becomes not used at all. File manipulation (and a lot more) is really powerful, may be enough for your purposes.

—SA


这篇关于¿如何收集一堆特定文件并复制它们?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆