search for: vazqg5

Displaying 3 results from an estimated 3 matches for "vazqg5".

2016 Feb 03
6
delete directories with find and exclude other directories
...m attempting to delete some directories and I want to be able to exclude a directory called 'logs' from being deleted. This is my basic find operation (without the exclusion) # find . -type d |tail -10 ./d20160124-1120-df8mfb/deployments ./d20160124-1120-df8mfb/releases ./d20160131-16993-vazqg5 ./d20160131-16993-vazqg5/metadata ./d20160131-16993-vazqg5/deployments ./d20160131-16993-vazqg5/releases ./logs ./d20160203-27735-1tqbjh6 ./d20160125-1120-1yccr9p ./d20160131-16993-1yf9lnc I'm just tailing the output so that you have an idea of what's going on without taking up the whole p...
2016 Feb 03
0
delete directories with find and exclude other directories
...s and I want to be able to exclude > a directory called 'logs' from being deleted. > > This is my basic find operation (without the exclusion) > > # find . -type d |tail -10 > ./d20160124-1120-df8mfb/deployments > ./d20160124-1120-df8mfb/releases > ./d20160131-16993-vazqg5 > ./d20160131-16993-vazqg5/metadata > ./d20160131-16993-vazqg5/deployments > ./d20160131-16993-vazqg5/releases > ./logs > ./d20160203-27735-1tqbjh6 > ./d20160125-1120-1yccr9p > ./d20160131-16993-1yf9lnc > > I'm just tailing the output so that you have an idea of what&...
2016 Feb 03
0
delete directories with find and exclude other directories
...s and I want to be able to exclude > a directory called 'logs' from being deleted. > > This is my basic find operation (without the exclusion) > > # find . -type d |tail -10 > ./d20160124-1120-df8mfb/deployments > ./d20160124-1120-df8mfb/releases > ./d20160131-16993-vazqg5 > ./d20160131-16993-vazqg5/metadata > ./d20160131-16993-vazqg5/deployments > ./d20160131-16993-vazqg5/releases > ./logs > ./d20160203-27735-1tqbjh6 > ./d20160125-1120-1yccr9p > ./d20160131-16993-1yf9lnc crude thing I would do is: find . -type d | grep -v logs , but that wil...