My attempt to copy a directory with subdirectories and *.txt; *.pdf and .rtf files and simultaneously ignore all larger files (.exe; *.rar; *.msi) over 5000 bytes works only partially. The directory structure is copied correctly, but the contents of the *.txt; *.pdf, and *.rtf files are not present. These copied files remain empty with 0 kb.
What am I doing wrong?
Name Microsoft Windows 7 Professional Version 6.1.7601, NET Framework 4.8
Applied parameters:
`*:\NewBackup\DoInstall_Programms\ChoEazyCopy\ChoEazyCopy v2.0.0.1>prompt $G
RoboCopy.exe ":\NewBackup\DoInstall_Programs" ":\NewBackup\DoInstall_ChoEazyCopyList" . /E /LEV:3 /COPY:DAT /SECFIX /TIMFIX /MIR /A+:A /CREATE /IA:ACE /XA:C /MAX:5000 /V /TS /BYTES /LOG:"*:\NewBackup\DoInstall__ChoEazyCopyList" /LOG+:"ChoEasyCopyLog" /NJH
Log: *:\NewBackup\DoInstall__ChoEazyCopyList
exit`
In other words, I want to copy only the directory structure including the text, PDF and RTF files in it. All other file formats should not be copied. How can this be done?
My attempt to copy a directory with subdirectories and *.txt; *.pdf and .rtf files and simultaneously ignore all larger files (.exe; *.rar; *.msi) over 5000 bytes works only partially. The directory structure is copied correctly, but the contents of the *.txt; *.pdf, and *.rtf files are not present. These copied files remain empty with 0 kb.
What am I doing wrong?
Name Microsoft Windows 7 Professional Version 6.1.7601, NET Framework 4.8
Applied parameters:
`*:\NewBackup\DoInstall_Programms\ChoEazyCopy\ChoEazyCopy v2.0.0.1>prompt $G
Log: *:\NewBackup\DoInstall__ChoEazyCopyList
In other words, I want to copy only the directory structure including the text, PDF and RTF files in it. All other file formats should not be copied. How can this be done?