Тёмный

Move or Copy List of Files 

William Campbell
Подписаться 7 тыс.
Просмотров 4,2 тыс.
50% 1

How to move or copy a list of files using a batch file in Windows and shell script in macOS.
Download the batch files and scripts: www.marspremed...

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@benthomas5100
@benthomas5100 2 месяца назад
Thankyou!
@ths_creation
@ths_creation 5 месяцев назад
Wow, that was very helpful. Do you know if it's possible to put in wild cards in the batch file code or in the file names in the list? I have a list of files. In the folder there are files with the same name as in the list but some of the files has a suffix. (i.e. in the list i have THS-HK-004 and in the folder I have THS-HK-004.pdf and THS-HK-004 Rev 01.pdf and THS-HK-004_rev2.pdf and I want all three of them copied to the new folder) I know it's not very structured how the files are saved, but in the project there are many workers who save the files, and not everyone follow the rules ;-)
@wc7
@wc7 5 месяцев назад
I don't know. Never tried wild cards. My file lists are exact. Give it a try. Probably would work given it's made of dos/shell commands. Also study more about the commands used, that might provide the answer.
@ths_creation
@ths_creation 5 месяцев назад
@@wc7 Thanks for quick response. I will give it a try
@mjabeer
@mjabeer Год назад
Best
@JayKing-h1t
@JayKing-h1t 2 месяца назад
Thank you, I have been looking for this solution for a very long time. I have subscribed and look forward to going through your other videos.
@ABZohur
@ABZohur 5 месяцев назад
You saved my day! This is exactly what I was looking for!
@bharamappabandak9226
@bharamappabandak9226 Год назад
Very useful sir 👌👌👌
@wc7
@wc7 Год назад
Thanks
@bharamappabandak9226
@bharamappabandak9226 Год назад
@@wc7 well come🙏🙏
@Vision-IT_1
@Vision-IT_1 13 дней назад
thx, very helpful. is there a way to copy the files if the list only contains the file names without ending, eg. ".jpg"?
@user-autofiber
@user-autofiber 3 месяца назад
thanks for your video
@omarlarrota6857
@omarlarrota6857 Год назад
Hi William, it works, thanks for your video
@VaughnCampbell
@VaughnCampbell 9 месяцев назад
Wow, that was incredibly useful.
@davesheehan7990
@davesheehan7990 Год назад
Great video, very clear. Thank you.
@TheWhiplax
@TheWhiplax Год назад
Thank you so much
@MuhammadAdeelSuleman
@MuhammadAdeelSuleman 4 месяца назад
Hi Sir, hope you are going well Plz help me to move the same extension files from multiple folders to different & specific folders. Thanks
@wc7
@wc7 3 месяца назад
That's a lot to ask of a batch script. A bit more than I know how to accomplish. It would take some research. Which platform, by the way? Each is different how to do this stuff in batch/shell scripts.
@MdubFrederson
@MdubFrederson 5 месяцев назад
How do you move the file while maintaining the directory structure???
@wc7
@wc7 5 месяцев назад
I don't think a batch file can do that, that I'm aware of anyway. Maybe someone else has found a way and can comment.
@JayKing-h1t
@JayKing-h1t 2 месяца назад
I have been using this a lot. Is there a was of making this recursive, so I can run it on a directory and sub directories
@wc7
@wc7 2 месяца назад
no idea how to make it recursive
@msamiullah001
@msamiullah001 7 месяцев назад
this is great, thanks how to add folders to copy also? right now it copy files in folders but if I want to copy the whole folder in same structure
@wc7
@wc7 7 месяцев назад
I don't know a way to do the same with folders.
@joecarpenter8406
@joecarpenter8406 8 месяцев назад
Very helpful. I would like to copy files listed in a text file with full path names from drive d: to the same path on drive i: . The paths already exist on drive i. Would very much appreciate any suggestions.
@wc7
@wc7 8 месяцев назад
I don't have time to test, but off the top of my head you should be able to use the "move full paths" batch file and change "do move" to "do copy". macOS change "mv" to "cp". Update the source path of course. In the batch file, instead of "%%~fa" use the new full path and existing file name. For example: "I:\destinationpath\%%a". I *think* that would work, but not positive. You have to search the web for how the variables work to get it right. Do some experimentation. That's how I got this far.
@wc7
@wc7 8 месяцев назад
Here's a link that shows some of the DOS variable variations for files: www.alttechnical.com/knowledge-base/windows/102-file-name-variables-in-windows-batch
Далее
How Fast Can I Fill My Inbox?
13:30
Просмотров 311 тыс.
Batch Script to Move File
6:37
Просмотров 24 тыс.
ПОЮ ВЖИВУЮ🎙
3:19:12
Просмотров 875 тыс.
Se las dejo ahí.
00:10
Просмотров 1,6 млн
How to copy large amounts of files in Windows
14:36
Просмотров 149 тыс.
Why I Avoid Windows Standard Folders
9:01
Просмотров 127 тыс.
File Storage VS Object Storage | System Design
5:20
The Power of Smart Folders To Organize Files in MacOS
13:04
Copy, Move, Delete files with PowerShell
17:01
Просмотров 173 тыс.
The SIMPLEST Way to Organize Your Files and Folders
10:14
ПОЮ ВЖИВУЮ🎙
3:19:12
Просмотров 875 тыс.