MC Press Online Forum
Welcome, Guest
Please Login or Register.    Lost Password?
TechTip: Clean Up Old IFS Files (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: TechTip: Clean Up Old IFS Files
#115031
DKDowning (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
TechTip: Clean Up Old IFS Files 1 Year ago Karma: 0  
I hope you enjoyed the article.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#115032
matt.haas@thomson.com (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
TechTip: Clean Up Old IFS Files 1 Year ago Karma: 0  
Interesting technique but there's another way to do this that doesn't require writing a program. You can use the QShell find command to delete files. Here's an example that delete's old PDFs more than 180 days old: <p>find -x /pdftemp -type f -name *.pdf -mtime +180 -exec rm {} ; <p>(you can read up on the find command by doing a Google search for "man find") <p>Because of the way QShell works, the find command can take a long time to work for a large number of files but besides being able to delete files, you can send the file name off to other QShell commands and scripts which opens up a lot of possibilites. <p>Matt
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#115030
MC Press Web Site Staff (Admin)
Admin
Posts: 1061
graphgraph
User Offline Click here to see the profile of this user
TechTip: Clean Up Old IFS Files 1 Year ago Karma: 1  
This is a discussion about <B>TechTip: Clean Up Old IFS Files</b>.<p align='center'><a href=http://www.mcpressonline.com/mc? This e-mail address is being protected from spam bots, you need JavaScript enabled to view it @.6b50aa46>Click here for the article</a>.</p>
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#115033
DKDowning (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
TechTip: Clean Up Old IFS Files 1 Year ago Karma: 0  
I was looking for a way to do this w/o having to write complex API programs and have flexability of getting specific files, for example just my own etc. This gave me a chance to learn some new techniques as well. Thank you for the tip I will look into it more when I have some extra time.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
   MC-STORE.COM