Questions

How to search and delete file or folder from multiple servers?

+
0 Votes
Locked

How to search and delete file or folder from multiple servers?

MasoodAhmad
Hi,
I work on Mac OS (multiple versions in my office). We have a large number of servers dedicated to different departments. As a Technical support, I encounter a problem to search a file or folder within N number of servers and delete them. I am looking for a software or a script that can be run from MAC and help me search and delete a file. The script should prompt for a file name to be deleted and then it should make a auto search (searching all the volumes) and delete it efficiently. It would be an added advantage if I could get a confirmation pop-up that the file has been deleted.

It would be more helpful if anyone could provide a better solution.

Thanks,
Masood Ahmad
  • +
    0 Votes
    njcsamuels

    mac is running unix underneath, right? i would try to mount the different directories and try to use the find command piped into a remove command.

  • +
    0 Votes
    njcsamuels

    mac is running unix underneath, right? i would try to mount the different directories and try to use the find command piped into a remove command.