Removal script

Jos Chrispijn bsduser at cloudzeeland.nl
Sat Feb 15 13:32:07 UTC 2020


I am looking for a way to remove a nested subdirectory in a directory.

Example:
directory /mysources has a certain number of subdirectories which 
contain subdirectory 'nonsense' in various subdirectories, which contain 
also subdirectory 'nonsense', etc.

What I would like to do is that the script removes all 'nonsense' 
folders in the base /mysources.
Can you pls tell me how I can do that savest? Thanks!

/jos


More information about the freebsd-questions mailing list