Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2020 14:31:59 +0100
From:      Jos Chrispijn <bsduser@cloudzeeland.nl>
To:        freebsd-questions@freebsd.org
Subject:   Removal script
Message-ID:  <24af365c-bfab-b5ac-72e3-675b0450b75f@cloudzeeland.nl>

Next in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?24af365c-bfab-b5ac-72e3-675b0450b75f>