Questions tagged [ignore]

12 questions
12
votes
3 answers

cp command, ignore unchanged files

Is there a way to do a cp but ignoring any files that may already exist at the destination that aren't any older then those files at source. Basically I want to copy the contents of one disk to another, then run the copy again but only updating new…
Ben Everard
  • 569
  • 3
  • 7
  • 21
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
4
votes
2 answers

make dnsmasq ignore specific entries in /etc/hosts

I've set up a machine running dnsmasq, essentially serving its /etc/hosts file. However, there are specific entries which I want in that machine's /etc/hosts, but I don't want served. How can I make dnsmasq not serve them?
einpoklum
  • 1,622
  • 3
  • 19
  • 30
4
votes
2 answers

nginx ignores my include directive?

I'm currently migrating from Apache to nginx. I have a couple of domains that are going to be hosted on the same machine with one IP address. Though I've configured nginx --prefix=/my/path it seems that nginx doesn't include my vhost configuration…
tftd
  • 1,480
  • 7
  • 24
  • 38
2
votes
1 answer

Ignore Specific Package When Updating - Solaris 11.3 SPARC

I'm running java 7 on one of my Solaris servers. We need to run updates but when we do java 8 tries to install itself. This wouldn't be a big deal but it conflicts with another application we have running for some reason. Therefore, I am stuck using…
jrd1989
  • 628
  • 10
  • 35
2
votes
2 answers

ignore lines grep

I have a very annoying message being output from a process I'm running. I'd rather not remove the line, but simply remove it with grep The messages to ignore all contain the word "requests". I could easily ONLY these lines with $> myproc | grep…
corsiKa
  • 363
  • 1
  • 6
  • 18
1
vote
1 answer

Suppress "Running SSH command" from remote execution

When I attempt to run a command in a remote server, for instance : ssh user@server 'app; exit \$?' I get an annoying output from ssh stating : Running SSH command : .... And the exact command is going to be run on the remote server. I don't want…
Matias Barrios
  • 203
  • 3
  • 12
1
vote
1 answer

Git ignore, how to?

So, I have the next problem. For example my gitignore file contains this: /app/config /app/tmp /plugins /vendors If this is my first push to bared remote git server after that described files won't be sended. But if I at least one time sended this…
Clark
  • 347
  • 2
  • 5
  • 13
1
vote
1 answer

Mercurial clone ignore the ignored

So i have a local clone and a central repository. Now I need to create local clones from the main clone and use them. The problem is the clone command is ignoring the ignored files (like it should). But there are many configuration files in this…
johnlemon
  • 159
  • 1
  • 6
0
votes
1 answer

How to make noreply reject mail

I am using Postfix to send mail. I have it configured that only users listed in /etc/aliases or /etc/postfix/login_maps are allowed to receive mail and that users must be authenticated and can only send mail from their accounts and not as someone…
exxboast7
  • 51
  • 2
  • 8
0
votes
0 answers

CSF ignore list skips some ignore exclusions

I have try to prevent sending Suspicious File Alert emails which contain: File: /tmp/netatop-0.5/netatop.init Reason: Script, starts with #! File: /tmp/netatop-0.5/mkversion Reason: Script, starts with #! by…
JackTheKnife
  • 371
  • 1
  • 6
  • 22
0
votes
1 answer

Grep a textfile with (find generated) files, but ignore paths

I receive a huge textfile generated with find. The contents of the generated textfile are a file-referenes with full path,…