Sep 18 2023 10:59 AM - edited Sep 18 2023 11:03 AM
Hi!
Please add new flag for robocopy that would allow copying only those files whose path contains directories that match the specified names and paths. This is similar to the /xd flag, but with the opposite effect. This would be very helpful. Without this flag, you will have to use the /xd flag, specifying a large number of folders to exclude. Please improve this command.
For example, let it be the /id flag:
robocopy \\server\project \\server\project_backup *.usd /id cache /s /xo /z
It copies all usd-files whose path contains a folder named "cache".