Questions tagged [recursive]
69 questions
2
votes
7 answers
Massive amount of subfolders and long subfolders. How can I delete all of them?
We have a little problem here.
We have a share with the backup of all the server's offices, Its a really big share with more than 8.000.000 files.
Our users usually give long names to the folders they create, and then make subfolders (long too) and…

Carlos Garcia
- 318
- 3
- 12
2
votes
1 answer
enabled recursion causes large send traffic
I had installed BIND service on my centOS 8 server with recursion yes; configuration. I noticed a very large traffic (~ 8 GB) is being sent from my server every hour and I could not detect what is the source of this traffic. then I changed the named…

SAndroid
- 21
- 1
- 6
1
vote
2 answers
Set Owner by Folder Name Recursivly Powershell
I have a persmissions problem, on our Fileserver, where the NTFS Owner was not copied correctly, these are Citrix UPM Profiles, I found a script, for this but it does not work recursivly:
$Path = "\\fs01\profiles$\"
cls
$Log =…

sn976020
- 21
- 1
- 4
1
vote
0 answers
Server 2016 DNS non-recursive
I think I have half of the answer, but need help with the final steps...
I'm trying to configure our Windows 2016 DNS servers to respond as recursive servers for clients on our internal subnets, but only respond to requests for our domain from…

PPA
- 11
- 1
1
vote
1 answer
Changing all HTML absolute links to relative
I have a website that has a bunch of absolute addresses, and I need to move it (the whole contents of that website) up a level, so all of the absolute links need to be converted to relative.
I know about wget with --convert-links, but it doesn't…

BubbleFish
- 13
- 1
- 3
1
vote
1 answer
Accidently ran rm -fr in a directory but nothing happened
Can someone confirm that running the command rm -fr without the / does nothing?
I accidentally ran rm -rf in my command line and it seemed to do nothing.
I am running a jail-shelled cPanel account on CentOS 6.
Anyway the whole directory is under…

adjc98
- 13
- 5
1
vote
6 answers
How to change permissions on folders, but not files?
Is there a concise linux command (that will work on OSX) to change permissions on folders and all of their contents, but leave files in the current directory untouched? For example:
/parent/folder1 <-change permissions
/parent/folder2 …

Michael Prescott
- 655
- 2
- 9
- 15
1
vote
3 answers
Bind DNS - Allow Recursion from Mobile Clients
I'm not quite sure how exactly to phrase what it is I need, which makes searching challenging. :) Basically I've got Bind DNS running on RackSpace instances and I want to set named up so that any of my clients can recursively query without risking…

justinzane
- 191
- 2
- 13
1
vote
1 answer
Is a DNS Referral response always honored?
Using the DNS protocol in a man-in-the-middle service, I want to execute a friendly takeover on predefined A and CNAME records. Anything that doesn't meet the predefined criteria I would want to hand off as quickly and pain free as possible to the…
1
vote
2 answers
puppet directory trees creation from a variable
Im trying to create directory tree using puppet. Ex
dir => /home/any_dirname/any_dirname2/any_dirname3/
Is it possible to create above tree in puppet where dirname can be anything so im taking it as a variable. How do i split the variable and ensure…

Kittu
- 11
- 1
1
vote
1 answer
recursive mounts not visible in endpoint
I have a little (virtual) infrastructure with multiple servers - and some of these configuration I cannot change because of software restrictions. 2 of the servers are WEBservers, and a NAS-like server. In front of the webserver is a load-balancer…

Dionysius
- 223
- 1
- 2
- 8
1
vote
2 answers
revert chmod 777 / -R
while executing a command i made a mistake and executed (ubuntu 10)
sudo chmod 777 / -R # okay you may laugh
now all my filesystem has 777 permitions , obviously i dont know which where the permitions for every folder and file in my…

user70247
- 125
- 2
- 5
1
vote
2 answers
Bind9 allow zones only as part of recursive resolution
In my cloud environment, I have a bind9 server functioning as a proxy for all outgoing DNS queries generated in the environment. I'm currently trying to configure Bind to perform the following filtering as part of its name resolution flow -
Allow…

FitzChivalry
- 187
- 10
1
vote
1 answer
Recursive PowerShell script to protect all OUs and Objects from Accidental Deletion
I'm sure there has got to be an easier way that what I hand-jammed....
I'm trying to write and run a PowerShell script that will set the ProtectFromAccidentalDeletion flag to "true" recursively on all OUs, objects, sub-OUs and their objects.…

ShadowFox
- 43
- 7
1
vote
1 answer
Create a tree-like structure with ansible
I have to create an LDAP structure with users and groups.
The groups are a bit complex with a lot of nested groups etc. I need to create a tree like structure in my inventory, like the following:
----
user_groups:
- name: AllUsers
members:
…

ptselios
- 41
- 1
- 6