Sponsored Content
Full Discussion: deleting older directories
Top Forums UNIX for Dummies Questions & Answers deleting older directories Post 302158614 by frank_rizzo on Wednesday 16th of January 2008 12:47:57 AM
Old 01-16-2008
your system probably does not support it. What OS are you using? Use the first method instead. It should work for you unless you run into weird filenames.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Deleting files older than a given date

Hi all, I want to delete all files in a directory which are older than a given date. I thought of doing it by creating a file by the required date by using touch command. And then i would use find command on that file and try to find files older than that. I searched the man and found a... (3 Replies)
Discussion started by: rajugp1
3 Replies

2. Solaris

Deleting Files Older than 24 hours

Hi, I am using Solaris Box, I need to delete file(cookies.html) from the path(/usr/temp) which are older than 24 hours(I want in hours, not in days) Can u provide the command for the above query (7 Replies)
Discussion started by: mazhar803
7 Replies

3. Shell Programming and Scripting

Script for deleting 30 days older

Hi, I need a script to delete files that are 30 days older and also the file name should contain aa or ab or ac as substring... Regards, Dolly.... (3 Replies)
Discussion started by: moon_friend
3 Replies

4. Shell Programming and Scripting

Deleting files older than 7 days

Hi Guys, I want to delete folder/files older than 7 days. Im using the command below. find /test/test1 -mtime +7 -print0 | xargs -0 rm -Rf /test/test1/* which works ok, but it deletes the test1 folder as well which i dont want. The test1 folder will have a list of sub-folders which in... (4 Replies)
Discussion started by: shezam
4 Replies

5. Shell Programming and Scripting

Script for parsing directories one level and finding directories older than n days

Hello all, Here's the deal...I have one directory with many subdirs and files. What I want to find out is who is keeping old files and directories...say files and dirs that they didn't use since a number of n days, only one level under the initial dir. Output to a file. A script for... (5 Replies)
Discussion started by: ejianu
5 Replies

6. UNIX for Advanced & Expert Users

Deleting older files of a particular type

hi This should be easy but i'm obviously missing something obvious. :) I'm looking to delete files from yesterday and older of extension .txt and there a range of subfolders with these files in them. The command runs but doesn't delete anything. SUSE 10. find /testfolder -maxdepth 2 -type f... (6 Replies)
Discussion started by: cmap
6 Replies

7. Shell Programming and Scripting

deleting files older than 7 days

Hi Guys, I am new to unix I am looking for a script to delete files older than 7 days but i also want to exclude certain directories (like arch,log .....) and also some files with extensions ( like .ksh, .ch, ..............) Thanks (1 Reply)
Discussion started by: MAYAMAYA0451
1 Replies

8. Shell Programming and Scripting

Deleting files older than 6 hours

Hi All, I am using the below script to find all the files in a folder which are older than 6 hours and delete all those files, but some how I am not getting the required output. find $HOME/Log -type f -name "*.log" -amin +360 -exec rm *.* {} \ can any one please check and let me know... (13 Replies)
Discussion started by: subhasri_2020
13 Replies

9. Shell Programming and Scripting

Deleting Files Older than 1 hours.

How to Deleting Files Older than 1 hours. Base on SunOS. this file gen every 1 min. -rw-r--r-- 1 nobody nobody 4960 Jan 27 02:02 23_201301270201.log -rw-r--r-- 1 nobody amudu 2325 Jan 27 02:03 33_201301270202.log -rw-r--r-- 1 nobody amudu 3255 Jan 27 02:03... (2 Replies)
Discussion started by: ooilinlove
2 Replies

10. Shell Programming and Scripting

Need help deleting files one week older

Hi, I need to delete *.bad files which are 1 week old. How can I achieve that. I tried doing through below script but it deletes all the files. find ./ -mtime +7 -exec rm *.bad {} \; The below one works but i want to delete only files with .bad extension find . -mtime +7 | xargs rm (2 Replies)
Discussion started by: Gangadhar Reddy
2 Replies
SoGLMultiTextureMatrixElement(3)				       Coin					  SoGLMultiTextureMatrixElement(3)

NAME
SoGLMultiTextureMatrixElement - The SoGLMultiTextureMatrixElement class is used to update the OpenGL texture matrix. Since (for some weird reason) most OpenGL implementations have a very small texture matrix stack, and since the matrix stack also is broken on many OpenGL implementations, the texture matrix is always loaded into OpenGL. We do not push() and pop() matrices. SYNOPSIS
#include <Inventor/elements/SoGLMultiTextureMatrixElement.h> Inherits SoMultiTextureMatrixElement. Public Member Functions virtual void init (SoState *state) virtual void push (SoState *state) virtual void pop (SoState *state, const SoElement *prevTopElement) virtual void multElt (const int unit, const SbMatrix &matrix) virtual void setElt (const int unit, const SbMatrix &matrix) Static Public Member Functions static SoType getClassTypeId (void) static int getClassStackIndex (void) static void * createInstance (void) static void initClass (void) Protected Member Functions virtual ~SoGLMultiTextureMatrixElement () Detailed Description The SoGLMultiTextureMatrixElement class is used to update the OpenGL texture matrix. Since (for some weird reason) most OpenGL implementations have a very small texture matrix stack, and since the matrix stack also is broken on many OpenGL implementations, the texture matrix is always loaded into OpenGL. We do not push() and pop() matrices. Constructor &; Destructor Documentation SoGLMultiTextureMatrixElement::~SoGLMultiTextureMatrixElement (void) [protected], [virtual] The destructor. Member Function Documentation SoType SoGLMultiTextureMatrixElement::getClassTypeId (void) [static] This static method returns the class type. Reimplemented from SoMultiTextureMatrixElement. int SoGLMultiTextureMatrixElement::getClassStackIndex (void) [static] This static method returns the state stack index for the class. Reimplemented from SoMultiTextureMatrixElement. void * SoGLMultiTextureMatrixElement::createInstance (void) [static] This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. Reimplemented from SoMultiTextureMatrixElement. void SoGLMultiTextureMatrixElement::initClass (void) [static] Initialize relevant common data for all instances, like the type system. Reimplemented from SoMultiTextureMatrixElement. void SoGLMultiTextureMatrixElement::init (SoState *state) [virtual] This function initializes the element type in the given SoState. It is called for the first element of each enabled element type in SoState objects. Reimplemented from SoMultiTextureMatrixElement. void SoGLMultiTextureMatrixElement::push (SoState *state) [virtual] This method is called every time a new element is required in one of the stacks. This happens when a writable element is requested, using SoState::getElement() or indirectly SoElement::getElement(), and the depth of the current element is less than the state depth. Override this method if your element needs to copy data from the previous top of stack. The push() method is called on the new element, and the previous element can be found using SoElement::getNextInStack(). Reimplemented from SoMultiTextureMatrixElement. void SoGLMultiTextureMatrixElement::pop (SoState *state, const SoElement *prevTopElement) [virtual] This method is callled when the state is popped, and the depth of the element is bigger than the current state depth. pop() is called on the new top of stack, and a pointer to the previous top of stack is passed in prevTopElement. Override this method if you need to copy some state information from the previous top of stack. Reimplemented from SoElement. void SoGLMultiTextureMatrixElement::multElt (const intunit, const SbMatrix &matrix) [virtual] virtual method which is called from mult(). Multiplies matrix into element matrix. Reimplemented from SoMultiTextureMatrixElement. void SoGLMultiTextureMatrixElement::setElt (const intunit, const SbMatrix &matrix) [virtual] virtual method which is called from set(). Sets matrix intp element matrix. Reimplemented from SoMultiTextureMatrixElement. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoGLMultiTextureMatrixElement(3)
All times are GMT -4. The time now is 02:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy