Nexus is a repository manager that helps to collect, proxy, and manage your dependencies in one place. This is a place where you can keep all your artifacts such as libraries, dependencies, etc. To be more clear lets you are developing an application and you have to create a custom Jar module where you want all your developers to use the same for the rest of the module development. If you don’t want other developers to develop the same jar on their own, you publish this kind of dependencies to…
Read MoreDay: October 2, 2020
Search and delete files older than “N” days
Lets see how we can search specific files or directory which was created “N” days before and delete. For example find files older than 60 days, Replace the ls with -delete to remove files. Be careful, as you might end up deleting important files. Always keep backups. Always run -ls option first to check about files. You have been warned. How to ask for confirm before deleting Explanation find : Find command /path/to/dir/ : Directory path to search -type f : Only works on files. (the -type d option…
Read More