Search Results

Search: Posts Made By: Mr.Glaurung
7,389
Posted By Mr.Glaurung
I am surprised no one has pointed this out, but...
I am surprised no one has pointed this out, but you might already know it:

1 - combine several log files into one file when it happens:
tail -f filename filename2 filename3 > logfile
This will...
3,158
Posted By Mr.Glaurung
Problems with Sendmail AUTH and TLS
Greetings.

I desperately need help to get my sendmail configuration working again.

I followed this guide:
Unmemorable Memories » Blog Archive » Enabling SMTP-AUTH for Sendmail on Debian Linux...
956
Posted By Mr.Glaurung
Completely valid mr. Cragun. I agree, too often I...
Completely valid mr. Cragun. I agree, too often I forget that the find command has a built in exec possibility and in this example it is valid, however it's not always valid if you for instance need...
956
Posted By Mr.Glaurung
Find files and execute commands on these files (advanced)
So, I need to find a bunch of files and delete them (this example, but sometimes I need it for something else) and my trusty go-to command has always been:

find . -type f -name '*file*' | xargs...
1,999
Posted By Mr.Glaurung
Woohoo!! It works! You rock! Thanks a gazillion...
Woohoo!! It works! You rock! Thanks a gazillion Scrutinizer!

+goodie points from Sweden!
1,999
Posted By Mr.Glaurung
I apologize Scrutinizer, I didn't know that. ...
I apologize Scrutinizer, I didn't know that.
But it still dosn't work?!?
find . -type f -regex '.*-[0-9]\{1,3\}\..*'
gives me zero results :( I am running this in /bin/bash under cygwin.
I also...
1,999
Posted By Mr.Glaurung
Neither of the above is working. find ....
Neither of the above is working.

find . -type f -regex '.*[0-9]\{1,3\}}\..*'
Escapes the {-parentheses and thus makes them part of the name. I want to use them to specify how many of the numbers...
1,999
Posted By Mr.Glaurung
Find help in shell - that clears away duplicate files
I am so frustrated!!!

I want a nice command that clears away duplicate files:

find . -type f -regex '.*[0-9]{1,3}\..*' | xargs -I## rm -v '##'

should work in my opinion. But it finds nothing...
3,647
Posted By Mr.Glaurung
Impressive! It worked! :D ... but I got...
Impressive!

It worked! :D

... but I got another problem :D

So, now it works with the primary copying, but the secondary copying has * in it, and that doesn't work now...
...
3,647
Posted By Mr.Glaurung
Spaces in filenames located in variables in shell.
Greetings.

I am trying to do a script that will do some file copying for me. Unfortunately I have spaces in the directory names (which I cannot change) and the result is someone hard to achieve in...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 09:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy