Velocity .wldep file sync with wild card in lieu of specific name, not showing in Velocity Host Profiles unless specific name is used in chmod

I am trying to sync my velocity file using a wildcard to grab whatever is in the folder and move it over to enterprise/usr folder. Is there a syntax that will do this?

Right now we have to specify the name of the file in the chmod script for it to be moved and show up in the host profiles: but we would rather uise a wild card so it doesn't matter what the name of the file is as long as it ends in .wdlep it will be moved to the enterprise/usr folder and show in velocity host profiles. I can get it to sync/move to the enterprise folder but it will not show in host profiles (it will be blank) unless the exact name is specified in the script. Is there a way around this, a wildcard perhaps that will get it to show in Velocity host profiles as long as it .wldep extension?

 

6 days ago
SOTI MobiControl
ANSWERS

Hi Katie,

Unfortunately, I don't believe chmod allows for a wildcard, nor moving multiple files or the entire content of a folder at once.

I'd say the best thing you can do here is create a different package per .wldep file you're trying to deploy here, and having a post-install script running the chmod script with the specific file name. 

Thanks,

Bradley

KW
Katie Williams Bronze Contributor
4 days ago

Thank you Bradley. We have a file sync and just will update the name and script accordingly when it's time to push a new file. just didn't know if we could replace the file in that location and it would grab it, without having to get granular with the exact name. Thanks for your response!