Deleting Files Automatically

Oct 11, 2007

Is there a way to automatically remove files from a folder on a schedule, say daily, and move them to the Recycle Bin? Can the Recycle Bin files be deleted daily on a schedule? If so, how?

I have Microsoft Office Professional 2007 running on a Windows 2003 Server.

View 2 Replies


ADVERTISEMENT

Deleting The Old Files

Jul 10, 2007

I've an upload directory and it have an very old files from 2005 so i wanna to delete all files that in this date because they make bandwindth on my server so how i can do this to delete them all , all files before 24 month .

View 9 Replies View Related

Host Deleting Files

Aug 23, 2008

how bad is it for a host to delete a file and not tell you that they deleted it?

View 14 Replies View Related

Deleting Files Older Than 30 Days

Jan 31, 2008

On a Red Hat server, how can I delete files in a specific directory that are older than 30 days?

View 7 Replies View Related

SSH Commands - Deleting Files And Escaping Characters

Jun 26, 2008

I have two quick questions.

Question 1
I had a script create a backup of every file on my site using the following format "filename.php.bac". I want to delete these files now and I tired to use "rm *.bac" but that only deleted the files in the current directory. How can I delete ALL those files in EVERY directory and sub-directory starting at the public_html directory?

Question 2
How can I escape semi-colon's (;) in a perl script? I'm trying to run a search+replace script to update some Analytics code and I have a ton of files to update but for some reason if there is a semi-colon in the find varable, it assumes that it has reached the end of the contents in that variable.

Here is the code. Take a look at the $find variable and you will see extra semi-colon's. How do I tell the script to not treat those semi-colons as the end of the variable? .........

View 5 Replies View Related

Automatically Purge Backup Files Off Thumb Drive

Apr 20, 2007

we have a thumb drive attached to a CentOS (linux) box and mysql backups are automatically saved to the thumb drive. Is there a way an HOW to automatically purge backup files if they are older than say 15 days? I suppose I would need to write a script for this and place it in the cron scheduler.

The format of the mysql dump files are:

Backup_20070420_0015.sql

View 10 Replies View Related

SpamAssassin - Deleting Files From /home/user/.spamassassin

Jun 25, 2009

I need to clean up the .spamassassin directory for all the accounts on the server. The Bayes files are getting too big and causing mail handling issues.

How would I do that?

I assume this won't work - and don't want to try it until I hear a little feedback:

rm -f /home/*/.spamassassin/*bayes*

Basically, I need a command that will do what the above command looks like it would do - I just don't think the wildcards will work in that manner, and don't want to try it for fear of deleting items outside of the .spamassassin directory.

I'm running CentOS 5.3.x with cPanel/WHM - if it matters...

And feel free to suggest other spam blocking software - but we've gotten rather good at tweaking SA to get the job done. Just this annoyance of the bayes files growing continuously is a pain sometimes...

View 7 Replies View Related

Deleting /tmp Content

Apr 1, 2007

any problem to delete /tmp content?

View 7 Replies View Related

Deleting Old Mail

Dec 13, 2007

There is a mailbox which is slightly over 250mB

The problem is that mail is usually downloaded without having the copy on the server deleted.

What is the easiest way of deleting all mail older than 14days?

(using cpanel, if it helps)

View 3 Replies View Related

Deleting Emails In Bulk

Apr 19, 2009

WHT, wow been a while, but anyway i have a client whose hosting account has way tooo many emails, he mentioned to me that he doesnt need them, i logged into his email annd they are more than 500 pages of emails, how would i delete them in WHM without going 1 by 1 or page by page..(even with that they still go to trash)

View 8 Replies View Related

Unmounting Amd Deleting Loop

Jul 1, 2008

I am writing on this forum and I am hopping some will help me. I have an issue with unmounting and deleting the /dev/loop0 on my host machine. Below is the error I am getting:

# losetup -d /dev/loop0
ioctl: LOOP_CLR_FD: Device or resource busy

View 2 Replies View Related

Deleting All Email From Mailbox

Dec 29, 2007

I am running cpanel and am trying to delete all mail from one particular mailbox. What is the command for doing this? I thought it was this:

# cd /home/USER/mail/
# echo > inbox

However that does not seem to work?

View 4 Replies View Related

Deleting Accounts Won't Free VPS Diskspace

Sep 10, 2008

I have terminated several reseller accounts and their respective clients in WHM-root recently (needs must) however the reduction in diskspace usage was not comparative to the amount of space deleted.

Is there a way to find out what is using up the space, is there a way to check it? I used the du -sh command on /home/* however the total of all the accounts listed does not come near to the amount of diskspace used on the status2k script page?

View 2 Replies View Related

Deleting A Blog Without A Court Order

Oct 25, 2007

As a blog host will you delete a blog without a court decision?, or a rejoinder from the displeased party?

View 8 Replies View Related

Localdomains File Deleting Domain -->

Jun 14, 2007

I have a client that routes their mail through a spam service and then back to my server. in order for this to work, their domain needs to be listed in both the /etc/localdomains file and the /etc/remotedomains file

it seems now since the last WHM/Cpanel upgrade that every morning i have to go in and manually re-add their domain into the localdomains file in order for their email to work

is there someway i can make it so it doesn't get removed?

View 4 Replies View Related

Plesk Automation :: PPA Not Deleting Old Backups

Jul 27, 2013

I have all my client hosting accounts set up to do backups daily but only keep two backups.

There is a problem as PPA is not deleting old backups and simply creates more and more backups until the backup server eventually runs out of space.

View 8 Replies View Related

Plesk Tomcat Error When Deleting Domain

Nov 14, 2007

I am running Plesk 8.1 for Linux and am trying to delete a domain via the control panel. The following error occurs:

ERROR: PleskUtilException

tomcatmng is failed --remove-service --vhost-name=domain.com

0: /usr/local/psa/admin/plib/utilmng.php:57

utilmng->call(string 'remove-service', array)

1: /usr/local/psa/admin/plib/tomcatmng.php:44

tomcatmng->remove_service(string 'domain.com')

2: /usr/local/psa/admin/plib/class.DSTomcat.php:226

DSTomcat->delete()

3: /usr/local/psa/admin/plib/class.PhDomain.php:315

PhDomain->reset(integer '0', boolean true, boolean false)

4: /usr/local/psa/admin/plib/class.BsDomain.php:297

BsDomain->reset(integer '0')

5: /usr/local/psa/admin/plib/class.BsDomain.php:291

BsDomain->delete(integer '0')

6: /usr/local/psa/admin/plib/class.BsDomain.php:530

mdeleteDomains(array)

7: /usr/local/psa/admin/plib/class.Manager.php:353

Manager->removeDomains(array)

8: /usr/local/psa/admin/htdocs/domains/domains.php3:209

Does anyone know how to fix this? Some Plesk users may have experienced this and I'm hoping could shed some light.

View 4 Replies View Related

Plesk 11.x / Linux :: Deleting Soa Entry For Subdomain

Nov 4, 2014

I created a subdomain, delete all entries except the NS and A Records. I changed the NS records. Now i have to delete the Soa Record for this subdomain. I don't know, whether this was the correct way...

View 1 Replies View Related

Deleting Spam Older Than X Days Need A Simpler Solution

Jan 21, 2009

I have a Bash script that deletes Spam from all users .Spam mailboxes that is older than X number of days

Currently I just list the paths to each mailbox i.e.

/var/vmail/Domain1.com/Mailbox1/.Spam/* -type f -mtime +5 -exec rm {} ;
/var/vmail/Domain1.com/Mailbox2/.Spam/* -type f -mtime +5 -exec rm {} ;
/var/vmail/Domain2.com/Mailbox1/.Spam/* -type f -mtime +5 -exec rm {} ;
/var/vmail/Domain2.com/Mailbox2/.Spam/* -type f -mtime +5 -exec rm {} ;

This is becoming unmanageable as the number of mailboxes grows I have to add each to my script

I tried putting wildcards in i.e.

/var/vmail/*/*/.Spam but this does not work

Is there a way to do this? Maybe running some kind of command to create an array of paths then looping through them?

View 5 Replies View Related

Plesk 12.x / Linux :: Slave DNS Manager Not Deleting Zone?

Jan 12, 2015

I've setup Bind 9.10.1 on a windows server as a slave DNS server. I've installed the Slave DNS Manager on Plesk 12 for Linux and setup configuration.

New zones are added ok so authentication en communication is working perfectly. But when I delete a zone in Plesk, the zoneconfig file doesn't get deleted on the windows server. I can see the windows eventlog saying "received control channel command 'delzone <domain>'" where <domain> is the zone I deleted. But after that noting. And I see errors after a while because of bind trying to transfer the deleted zone again. The zonefile isn't deleted from c: amedzones...

View 1 Replies View Related

Cpanel: Spam Assassin Deleting Mail At Server Level Possible

Aug 31, 2007

Rather than just tagging the subject with ***SPAM***. Am I going to have to recompile spam assassin in order to get that working? I have a client of mine who wants all spam just removed before it hits his inbox. Is there a setting somewhere in cpanel that I am missing for this? Possible just to apply it to one domain name?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved