Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Robocopy -- skip specific file types? [closed]

Tags:

robocopy

I went through Robocopy's documentation here. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy

Couldn't figure it out since no examples.

Is there a way to set robocopy so that it skips specific file types (e.g. PDFs)?

like image 832
Stan Shunpike Avatar asked Oct 25 '25 01:10

Stan Shunpike


1 Answers

According to the command reference /xf *.pdf should work, see this section for details.

like image 80
PeteP Avatar answered Oct 27 '25 02:10

PeteP



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!