Relative Content

Tag Archive for bashshell

Delete files from folder except one in Bash

I need to add a script which will delete files from directory before installation of new version. I need save from directory one catalog – /logs and all files inside ( inside we have *.log and *.zg files)