Sponsored Content
Operating Systems Linux deleting only directory not files Post 302191335 by hasanatizaz on Friday 2nd of May 2008 08:17:30 AM
Old 05-02-2008
damn,
i was just experimenting rm -rf */
i just typed /*
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Accidentally deleting directory/files

Hi, I accidentally deleted a big directory with all its sub-directories and bunch of source code files which I have been developing for about 2 years... What will I do now, how can I retrieve my files, directory hierarchy back ??? If anyone, please HELP ! ! ! ... (4 Replies)
Discussion started by: milhan
4 Replies

2. Shell Programming and Scripting

shell script: deleting files from a directory

i have the following problem: use shell script: Two directories have to be searched for files havin the same name. then delete these files from one of these directories. the directory names have to be accepted as command line arguments. what i have done till now is: 1. run a loop... (1 Reply)
Discussion started by: onlyc
1 Replies

3. Shell Programming and Scripting

deleting empty files in a directory

Hello Gurus, I want to delete only empty files (files with 0 bytes) at once from the local directory. Rightnow I need to go through all the files one by one manually and check the empty files before deleting them. Is there any unix command that finds and deletes empty files in a directory?... (5 Replies)
Discussion started by: berlin_germany
5 Replies

4. UNIX for Dummies Questions & Answers

deleting specific lines from all files in a directory

I have a directory full of text data files. Unfortunately I need to get rid of the 7th and 8th line from them all so that I can input them into a GIS application. I've used an awk script to do one at a time but due to the sheer number of files I need some kind of loop mechanism to automate... (3 Replies)
Discussion started by: vrms
3 Replies

5. Shell Programming and Scripting

Deleting the file only to all the directory and sub directory

I need the unix command or shell script to delete all the file in current directory and sub directory. (7 Replies)
Discussion started by: kingganesh04
7 Replies

6. UNIX for Dummies Questions & Answers

deleting all the files inside a directory from a relative path

I have a file inside abc/def/ghi directory. let say a.txt I need to delete this a.txt from abc itself. I have tried ls /abc/def/ghi | xargs rm -r its saying rm: a.txt non-existent also tried rm -rf /def/ghi but in vein. plz help :) (2 Replies)
Discussion started by: gotam
2 Replies

7. Shell Programming and Scripting

AIX system.... deleting files in remote directory after retrieving files

Hi Friends, I am new to this , I am working on AIX system and my scenario is to retrive the files from remote system and remove the files from the remote system after retreving files. I can able to retrieve the files but Can't remove files in remote system. Please check my code and help me out... (3 Replies)
Discussion started by: vinayparakala
3 Replies

8. Shell Programming and Scripting

Shell : deleting only first 2 files in a directory

I have 4 files in a directory and want to delete only first 2 files only.. $ ls -ltr total 640 -rw-r--r-- 1 user other 148779 Oct 12 10:50 file1.xls -rw-r--r-- 1 user other 148779 Oct 12 10:50 file2.xls -rw-r--r-- 1 user other 148779 Oct 12 10:50 file3.xls... (4 Replies)
Discussion started by: giridhar276
4 Replies

9. Shell Programming and Scripting

Deleting files and directory's older than 3 months

I have a qnap TS259 that is running ubuntu. Have successfully setup back scripts that are initiated by cron. I would like to create a couple scrypts that would operate on the recycle bins for both drives. Just want to be able to run the script manually that would walk through both directories... (13 Replies)
Discussion started by: mackconsult
13 Replies

10. UNIX for Dummies Questions & Answers

Deleting a directory and zipping another directory

Hi Folks, I have a directory in unix that is /usr/local/pos contain the folowing directoreis ..that is dir1 dir2 dir3 now I want to delete only dir2 please advise how to remove the directory dir 2 ..that is rm command and how to use it , and second if I want to zip the dir3 please... (1 Reply)
Discussion started by: punpun66
1 Replies
DtMmdbGraphicInfo(file formats) 										   DtMmdbGraphicInfo(file formats)

NAME
DtMmdbGraphicInfo -- graphic object structure in dtinfo DESCRIPTION
The DtMmdbGraphicInfo structure contains information about a graphic object in dtinfo. The DtMmdbGraphicInfo structure is defined as follows: #include <DtInfo/DtMmdb.h> typedef struct _DtMmdbGraphicInfo { unsigned short coding; unsigned short width; unsigned short height; unsigned int llx; unsigned int lly; unsigned int urx; unsigned int ury; char* version; } DtMmdbGraphicInfo; The DtMmdbGraphicInfo members have the following meanings: coding Specifies the type of the object. Valid values are: DtMmdbGraphicEPS Indicates an Encapsulated PostScript typed object. DtMmdbGraphicGIF Indicates a GIF typed object. DtMmdbGraphicXPM Indicates an XPM typed object. DtMmdbGraphicXBM Indicates an XBM typed object. DtMmdbGraphicCGM Indicates a CGM typed object (not supported) DtMmdbGraphicJPEG Indicates a JPEG typed object (not supported) DtMmdbGraphicTIFF Indicates a TIFF typed object (not supported) DtMmdbGraphicXWD Indicates an XWD typed object (not supported) DtMmdbGraphicUnknown Indicates an object of unknown type width Specifies the width of the object (in points). height Specifies the height of the object (in points). llx Specifies the X coordinate for the lower left corner if the object is of type Encapsulated PostScript. lly Specifies the Y coordinate for the lower left corner if the object is of type Encapsulated PostScript. urx Specifies the X coordinate for the upper right corner if the object is of type Encapsulated PostScript. ury Specifies the Y coordinate for the upper right corner if the object is of type Encapsulated PostScript. version Specifies the version of the object. Currently returns NULL. To be specified in the future. SEE ALSO
DtMmdbFreeGraphicInfo(3), DtMmdbGraphicGetData(3), DtMmdbGraphicGetInfo(3) DtMmdbGraphicInfo(file formats)
All times are GMT -4. The time now is 03:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy