Search Results

Search: Posts Made By: chickenhouse
6,782
Posted By chickenhouse
My Solution
Hi guys,

Thanks for your help.

Here's my solution, which is not very elegant. I've run the sed 4 times. The reason I've done it this way is I can avoid any problems with odd xml characters...
6,782
Posted By chickenhouse
Thanks but I don't think this will do what I...
Thanks but I don't think this will do what I want.

I need to create a new file with a suffix added to it. In that file some text needs to be replaced.

Not sure your solution does either of...
6,782
Posted By chickenhouse
Find and Replace then rename file
Hi,

This is probably quite simple for an expert, but I keep getting confused about the best approach, grep, awk, sed.

What I have is a range of files numbered 1 to 100. They go

file1.txt...
4,553
Posted By chickenhouse
Using Tar Zip
Hi,

I want to backup my SQL database using tar zip but I'm paranoid that I will archive it. What I mean is I want the files to stay where they are but make a zipped copy of the files as well, I...
8,550
Posted By chickenhouse
Thanks That should work. I'll find out on...
Thanks

That should work.
I'll find out on Wednesday. :-)
8,550
Posted By chickenhouse
Nice one thanks. Just another thought. ...
Nice one thanks.

Just another thought. Should I delete all processed files?

So use

find /var/www/vhosts/ -type f -name *.processed -exec rm {} +

?
8,550
Posted By chickenhouse
Deleting access_log.processed in crontab
Hi,

I've worked out that my server was getting clogged with the access_log.processed file.

I deleted it using the command
> /var/www/vhosts/domain.com/statistics/logs/access_log.processed

I...
2,585
Posted By chickenhouse
Can you please explain the steps in this? I...
Can you please explain the steps in this?

I thought "rn" renames the file. Are you sure it's not "rm"?

Thanks
Travis
2,585
Posted By chickenhouse
Simple rm commands in my server
Hi all,

I have PLESK to manage my virtual dedicated server. The most recent version left a favicon.ico file in all my domains and subdomains. I want to delete them without having to go into each...
Showing results 1 to 9 of 9

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