LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 2008)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sun, 9 Nov 2008 10:52:02 -0500
Reply-To:     Art@DrKendall.org
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Art Kendall <Art@DrKendall.org>
Organization: Social Research Consultants
Subject:      Re: Automatically searching & deleting sps
In-Reply-To:  <5CFEFDB5226CB54CBB4328B9563A12EE0A1B9CDE@hqemail2.spss.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I echo Jon's warning about finding yourself with extra free space. What is the context in which you want to do this?

I have been using computers since 1970 and SPSS since 1972. I think doing this in a completely automated way is very dangerous.

If you are using a VAX or a Windows OS, use the systems search function. Go to the root of the device and do a search including subdirectories or subfolders for *.sps. At least look at the names of the subdirectories to see if some other software might be using the .sps extension, after checking you can select all or select some then click delete. It seems there should be analogous capabilities under the UNICES and MAC OSs.

Art Kendall Social Research Consultants

Peck, Jon wrote: > This is easy to do with programmability. I don't have time to spell this out right now (on the way to the airport), but you can use > Python os.walk to iterate over all files on your system. > Use fnmatch.fnmatch to test the file name against the pattern you want > Use os.remove to delete a file that passes the test. > > BE CAREFUL with this, or you could wind up with a lot of extra free space on your disk! > > HTH, > Jon Peck > > -----Original Message----- > From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Thien Hop > Sent: Sunday, November 09, 2008 2:58 AM > To: SPSSX-L@LISTSERV.UGA.EDU > Subject: Re: [SPSSX-L] Automatically searching & deleting sps > > Dear Manoj Soni, > > Sorry I did not make myself clear enough. Actually I want to write a script > in SPSS that can do the job of searching & deleting specific file type i.e > **.sps anywhere even in Recycle bin. > > Thanks once again! > > Hop > ----- Original Message ----- > From: <manoj@iihmr.org> > To: "Tran Robert" <thienhop@gmail.com> > Cc: <SPSSX-L@LISTSERV.UGA.EDU> > Sent: Sunday, November 09, 2008 1:18 PM > Subject: Re: Automatically searching & deleting sps > > > >> Dear >> >> you just have to put a search in computer >> >> Search Name = *.sps >> >> Location = C:/D; or more >> >> this will help >> >> >> Manoj Soni >> Assistant Data Analyst >> INSTITUTE OF HEALTH MANAGEMENT RESEARCH >> 1, P.D. Marg, Near Sanganer Airport, >> Jaipur. 302001. Rajasthan. INDIA. >> Phone : 91-0141-2791431-34 >> Fax : 91-0141-2792138 >> manoj@iihmr.org >> >> ----- Original Message ----- >> From: "Tran Robert" <thienhop@gmail.com> >> To: <SPSSX-L@LISTSERV.UGA.EDU> >> Sent: Saturday, November 08, 2008 9:10 PM >> Subject: Automatically searching & deleting sps >> >> >> >>> Dear all, >>> >>> May I know if there is a way to automatically search & delete files.sps >>> in a >>> drive .ie anywhere in the C drive or D drive. >>> >>> Any advice is highly appreciated! >>> >>> Thanks a lot, >>> >>> Hop >>> >>> ===================== >>> To manage your subscription to SPSSX-L, send a message to >>> LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the >>> command. To leave the list, send the command >>> SIGNOFF SPSSX-L >>> For a list of commands to manage subscriptions, send the command >>> INFO REFCARD >>> >>> >> > > ===================== > To manage your subscription to SPSSX-L, send a message to > LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the > command. To leave the list, send the command > SIGNOFF SPSSX-L > For a list of commands to manage subscriptions, send the command > INFO REFCARD > > ===================== > To manage your subscription to SPSSX-L, send a message to > LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the > command. To leave the list, send the command > SIGNOFF SPSSX-L > For a list of commands to manage subscriptions, send the command > INFO REFCARD > > >

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


Back to: Top of message | Previous page | Main SPSSX-L page