01-13-2011
thank you for all the replies. can someone advise me what hidden files are? are they important? im confused somehow
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi. I have a script which is deleting files with a particular extension and older than 45 days.The code is:
find <path> -name "<filename_pattern>" -mtime +45 -exec rm {} \;
But the problem is that some important files are also getting deleted.To prevent this I have decide to make a dummy... (4 Replies)
Discussion started by: pochaw
4 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I want to know how to create a hidden file in linux??
Regards
Arun.Kakarla (3 Replies)
Discussion started by: Arun.Kakarla
3 Replies
3. Shell Programming and Scripting
how can i display only and only hidden file in the current directory. (7 Replies)
Discussion started by: useless79
7 Replies
4. Programming
I'm writing a c program to list the files in a given directory but I also want to display the hidden files. I can't figure this out in c. Does anyone know how to do this? Here's the code I have so far:
#include <unistd.h>
#include <stdio.h>
#include <dirent.h>
#include <string.h>
#include... (2 Replies)
Discussion started by: snag49ers
2 Replies
5. UNIX for Dummies Questions & Answers
How to list out only the hidden files from a directory ?
Thanks (4 Replies)
Discussion started by: pandeesh
4 Replies
6. AIX
I have a bunch of hidden files in a directory in AIX. I would like to move these hidden files as regular files to another directory.
Say i have the following files in directory /x
.test~1234~567
.report~5678~123
.find~9876~576
i would like to move them to directory /y as
test~1234~567... (10 Replies)
Discussion started by: umesh.narain
10 Replies
7. UNIX for Advanced & Expert Users
Find all files in the current directory only excluding hidden directories and files.
For the below command, though it's not deleting hidden files.. it is traversing through the hidden directories and listing normal which should be avoided.
`find . \( ! -name ".*" -prune \) -mtime +${n_days}... (7 Replies)
Discussion started by: ksailesh1
7 Replies
8. UNIX for Advanced & Expert Users
I wanted to grep some text Recursively, without going through hidden files(.files/.folders)
In my Repo there are lot of .svn folders/subfolders etc.
I dont want to grep in that folders.
Hidden folders can be .svn or .<anyotherfoldername>
Can you give teh command whcih does it "Recursively" (5 Replies)
Discussion started by: naaj_ila
5 Replies
9. Shell Programming and Scripting
Hello.
I use this command :
rsync -av --include=".*" --dry-run "$A_FULL_PATH_S" "$A_FULL_PATH_D"The data comes from the output of a find command.
And no full source directories are in use, only some files.
Source example... (2 Replies)
Discussion started by: jcdole
2 Replies
LEARN ABOUT HPUX
xcreatesimplewindow
XCreateSimpleWindow() XCreateSimpleWindow()
Name
XCreateSimpleWindow - create an unmapped InputOutput window.
Synopsis
Window XCreateSimpleWindow(display, parent, x, y, width, height, border_width, border, background)
Display *display;
Window parent;
int x, y;
unsigned int width, height, border_width;
unsigned long border;
unsigned long background;
Arguments
display Specifies a pointer to the Display structure; returned from XOpenDisplay().
parent Specifies the parent window ID. Must be an InputOutput window.
x Specify the x and y coordinates of the upper-left pixel of the new window's border relative to the origin of the parent (inside
y the parent window's border).
width Specify the width and height, in pixels, of the new window. These are the inside dimensions, not including the new window's bor-
height ders, which are entirely outside of the window. Must be non-zero. Any part of the window that extends outside its parent window
is clipped.
border_width
Specifies the width, in pixels, of the new window's border.
border Specifies the pixel value for the border of the window.
background
Specifies the pixel value for the background of the window.
Returns
The window.
Description
XCreateSimpleWindow() creates an unmapped InputOutput subwindow of the specified parent window. Use XCreateWindow() if you want to set the
window attributes while creating a window. (After creation, XChangeWindowAttributes() can be used.)
XCreateSimpleWindow() returns the ID of the created window. The new window is placed on top of the stacking order relative to its sib-
lings. Note that the window is unmapped when it is created - use MapWindow to display it. This function generates a CreateNotify event.
The initial conditions of the window are as follows:
o The window inherits its depth, class, and visual from its parent. All other window attributes have their default values.
o All properties have undefined values.
o The new window will not have a cursor defined; the cursor will be that of the window's parent until the cursor attribute is set with
XDefineCursor() or XChangeWindowAttributes().
o If no background or border is specified, CopyFromParent is implied.
For more information, see Volume One, Chapter 2, X Concepts, and Volume One, Chapter 3, Basic Window Program.
Errors
BadAlloc
BadMatch
BadValue width or height is zero.
BadWindow Specified parent is an InputOnly window.
See Also
XCreateWindow(), XDestroySubwindows(), XDestroyWindow().
Xlib - Window Existence XCreateSimpleWindow()