Move files from Multiple directories to a Single directory
0 Votes |
Description
Property Details
27008 | |
Beta - Preliminary testing ready for more | |
Move files from Multiple directories to a Single directory | |
Internal | |
8/31/2023 12:00:00 AM | |
Move files from Multiple directories to a Single directory, Concatenation, Loop in Action script, Move file to single folder | |
True | |
Nishi_Puthran on 8/31/2023 4:03:09 AM | |
Nishi_Puthran on 8/31/2023 5:16:59 AM | |
150 Views / 1 Download | |
![]() ![]() ![]() ![]() ![]() |
Relevance
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
delete __appendfile
delete movefiles.bat
appendfile move "{concatenation "%22 E:\Upload_Files\%0d%0amove %22" of ((pathname of it) of files whose (name of it contains ".zip") of descendant folders of folder "E:\Program Files (x86)\BigFix Enterprise\BES Server\UploadManagerData\BufferDir\sha1\")}{"%22"} "E:\Upload_Files\"
copy __appendfile movefiles.bat
waithidden cmd.exe /c movefiles.bat
delete __appendfile
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |