I have to delete specific files on an ubuntu server.
(If users have an problem with changing to home office and back)
I use to run
sudo find <start> -type f -name geometry.<bs>.<login>.pas -exec rm {} ';'
start
is the base directory of the "application system" somwhere in the linux filesystem and mounted as drive "A:" in a windows batch-file.bs
is either "linux" or "win" (or "*" of course)login
is the users login name (e.g. jpublic)
The program itself runs from a special path where are linux- and windows-executables (e.g. "cockpit" for linux and "cockpit.exe" for windows.
To start the program from windows, there is a batch-file. There the Program ist startet by
start A:\...\cockpit.exe
So I would like to have a windows executable to delete the "geometry" files. Is it possible in any kind to run a bash script from windows?