Questions tagged [wildcards]
16 questions
14
votes
6 answers
How to recursively move all files (including hidden) in a subfolder into a parent folder in *nix?
This is a bit of an embarrassing question, but I have to admit that this late in my career I still have questions about the mv command.
I frequently have this problem: I need to move all files recursively up one level. Let's say I have folder foo,…
deadprogrammer
- 1,661
- 7
- 24
- 25
10
votes
3 answers
mysqldump ignore table with wildcard
I need to take a dump of a database containing 50 odd tables of which I want to exclude about 15 odd that have prefix exam_
I tried mysqldump --ignore-table=dbname.exam_* and even tried --ignore-table=dbname.exam_%
It didn't work as expected. I had…
anup
- 657
- 4
- 8
- 19
10
votes
1 answer
exclude a subdomain from a dns wildcard record
I have a domain name set with wildcard for all subdomain (*.mydomain.com), I need of exclude a specific subdomain from this condition, I use a record dns for set wildcard and if I set a new record A for a specific subdomain it not work
Alessio D'Annibale
- 111
- 1
- 4
6
votes
2 answers
Wildcard certificates with short hostnames?
I'm trying to generate a certificate with the following subjectAltName:
hostname
*.hostname
hostname.mydomain.local
*.hostname.mydomain.local
I generate the CSR via OpenSSL and then get the certificate from Microsoft Active Directory Certificate…
Jakov Sosic
- 5,157
- 3
- 22
- 33
3
votes
1 answer
tar wildcards in files-from
Trying to run tar with --files-from. I have a file files.txt that contains
/dir1/files*.txt
However it complains that /dir1/files*.txt does not exist, but ls proves that it does.
I tried to also add --wildcards however same result.
How do I…
Felipe Alvarez
- 183
- 2
- 12
3
votes
3 answers
How to configure *.subdomain.domain.tld in Windows 2003 - wildcards in DNS
I think the title says it all really, but to reiterate, I'd like to know how to configure Windows 2003 to allow a wildcard on a subdomain. So site1.sub.domain.tld and site2.sub.domain.tld should both go to the same IIS site, whose host header value…
Iain
1
vote
1 answer
Using Sendmail wildcard receipts /etc/mail/virtusertable
I am trying to define wildcard receipts in SendMail, from what I read in this document http://www.sendmail.org/m4/features.html#virtusertable I understand that this would be a correct syntax inside /etc/mail/virtusertable
old+*@domain1.com …
adrianTNT
- 1,007
- 5
- 21
- 41
1
vote
0 answers
Bash slash does't work in wildcards square brackets
I'm curious why command ls -pd *[!/] or ls -pd *[!\/] doesn't match all files which don't end with /.
My use case is that I want to list only files inside the current working directory. I know that it's better to use find instead of ls but I want to…
Alex Misiulia
- 111
- 2
1
vote
1 answer
DNS - Use two wildcards on different domain levels
I have a problem with this DNS configuration:
RecordType - Name - Value
A *.domain.com 1.1.1.1
A *.sub.domain.com 2.2.2.2
I would like all subdomains of * .sub.domain.com to point to 2.2.2.2 and…
Laischon
- 21
- 1
1
vote
1 answer
Redirect different language urls to their english counterpart in htaccess
I'm trying to redirect language URLs that end with /?lang=da, /?lang=de and /?lang=nl to the same URL but ending in /?lang=en.
So
www.example.com/accommodation/hotel-room-1/?lang=da
should result…
Kneops
- 13
- 3
0
votes
2 answers
sudoers file errors on solaris (suspecting wildcards)
I'm trying to write a universal sudoers file to control permissions for all our users across all our environments and I've been using the wildcard for the hostnames like so (all data has been anonymized)
Host_Alias stg01 =…
gozu
- 313
- 2
- 6
- 14
0
votes
2 answers
Can we put random entries on DNS
Using microsoft DNS
All/most of our local hosts ( with in ) are in following domain
*.company.org
So a host name will look like mymachine001.company.org
Is it possible to set up wild card DNS entries of the form ?
*.subd.company.com
Note: The URL…
ring bearer
- 157
- 7
0
votes
1 answer
Wildcard email receipts and wildcard files to be written
With Sendmail, I want to accept messages to addresses formatted like this:
bounce+blabla@domain.com
bounce+foofoo@domain.com
And then write them all to a separate mail file on server, instead of appending to same one email file.
I am able to fetch…
adrianTNT
- 1,007
- 5
- 21
- 41
0
votes
1 answer
Can I have domain-wide wildcard DNS?
I'm coding an application the lets people attach their custom domains to it without my manual intervention or messing with httpd.conf.
So I need a method very similar to the method described by Google at the following URL:…
emurad
- 111
- 3
0
votes
1 answer
postfix wildcard for subdomains
I have a hash:/exclude.file in main.cf which checks for ips/domains to exclude them from rbl checks.
The exclude.file contains something like:
foo.com PERMIT
xx.yy.zz.ff PERMIT
but it does not catch foo.com's subdomains. It only works for…
w00t
- 1,134
- 3
- 16
- 35