08-29-2012
What about rm -i *3BB*? The -i for safety reasons...
This User Gave Thanks to RudiC For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
How do I delete a file name that starts with a hypen?
e.g. -unix_file_2006_10_3
I always get an erroe when I use rm command. I am using Solaris.
Thanks,
Hi,
One of the Unix books I read to remove this weird file suggest to use:
"rm ./-unix_file_2006_10_3"
which I did today and file... (3 Replies)
Discussion started by: XZOR
3 Replies
2. Linux
Guys, I have two files in a directory with weird permissions, size, owner, date etc... the problem is I can´t delete them! I tried to chmod the files and everything, but nothing seems to work. Anyone got any ideas ???
Look:
# ls -l
total 1327968579
?--------- 48 1645863428 2150720025... (1 Reply)
Discussion started by: dfs
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
I've Ubuntu 8.04, and it has some files that I just cannot delete. I've tried everything, inode, fsck etc.
Here is what the ls -li outputs
root@ubuntu:/home/luser/.local/share/Trash/files/junk# ls -l
ls: cannot access TRUNK_: No such file or directory
ls: cannot access 2006_output.mv:... (11 Replies)
Discussion started by: nitin
11 Replies
4. Shell Programming and Scripting
i have two files as
file1:
1
2
3
file2:
a
b
c
and the output should be:
file3:
1~a
2~b
3~c (1 Reply)
Discussion started by: mlpathir
1 Replies
5. UNIX for Dummies Questions & Answers
I have a requirement to delete the files and folders under a given directory.
my directory structure is like this..
Data
|
A(Directory)
|_PDF(Directory)----pdf files
|_XML()Directory --xml files
|--files
|
B(Directory)
|_PDF(Directory)----pdf files
|_XML()Directory --xml files ... (1 Reply)
Discussion started by: ramse8pc
1 Replies
6. UNIX for Dummies Questions & Answers
I have a directory containing thousands of items “video files”, these items were generated by an application, which generates two items with the same name but with different extensions “.avi and .mp4”. There was a tool in my application to remove one item @ a time. Later I found this tool removes... (5 Replies)
Discussion started by: awadeid
5 Replies
7. UNIX for Dummies Questions & Answers
i feel weird with this 2 command
find /tmp/*test* -user `whoami` -mtime +1 -type f -exec rm -f {}\;
find /tmp/*test* -user `whoami` -mtime +1 -type f -exec ls -lrt {}\;
the first one return correct which only delete those filename that consist *test* where second command it listed all the... (12 Replies)
Discussion started by: lsy
12 Replies
8. Shell Programming and Scripting
I want to use my script to get any file then delete it once it transfers to my side , I manage to create below script to generate "list" file which contains all file names in "10.10.1.1" then I made "a.out" file which contains the commands that I want to run it on "10.10.1.1" to get & delete the... (2 Replies)
Discussion started by: arm
2 Replies
9. UNIX for Dummies Questions & Answers
I need a command which delete files older than 10 years.
I got a command for 90 days and all commands I find are for days and nothing for years.
find file_name -mtime +90 -exec rm {} \; (5 Replies)
Discussion started by: eskay
5 Replies
10. HP-UX
Hello folks,
I've found an HP-UX server with a rare 'ls -l' output. Please see the attached file.
Anybody knows how can I change the output to not have this extra tabulations?
Thanks in advance! (10 Replies)
Discussion started by: carpannav
10 Replies
LEARN ABOUT CENTOS
xcb_create_gc
xcb_create_gc(3) XCB Requests xcb_create_gc(3)
NAME
xcb_create_gc - Creates a graphics context
SYNOPSIS
#include <xcb/xproto.h>
Request function
xcb_void_cookie_t xcb_create_gc(xcb_connection_t *conn, xcb_gcontext_t cid, xcb_drawable_t drawable, uint32_t value_mask, const
uint32_t *value_list);
REQUEST ARGUMENTS
conn The XCB connection to X11.
cid The ID with which you will refer to the graphics context, created by xcb_generate_id.
drawable Drawable to get the root/depth from.
value_mask
TODO: NOT YET DOCUMENTED.
value_list
TODO: NOT YET DOCUMENTED.
DESCRIPTION
Creates a graphics context. The graphics context can be used with any drawable that has the same root and depth as the specified drawable.
RETURN VALUE
Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop.
If you want to handle errors directly with xcb_request_check instead, use xcb_create_gc_checked. See xcb-requests(3) for details.
ERRORS
xcb_pixmap_error_t
TODO: reasons?
xcb_alloc_error_t
The X server could not allocate the requested resources (no memory?).
xcb_value_error_t
TODO: reasons?
xcb_drawable_error_t
The specified drawable (Window or Pixmap) does not exist.
xcb_font_error_t
TODO: reasons?
xcb_match_error_t
TODO: reasons?
SEE ALSO
xcb-requests(3), xcb_generate_id(3)
AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
XCB
2014-06-10 xcb_create_gc(3)