I am using the following Command to delete Directory with contents. But this command is deleting inside files only not directories. is there any change need in my command?
find -type f -mtime +3 -exec rm -r {} \;
Thanks (3 Replies)
hi , let's assume i have a file that is located in the l*** directory and this file's name is t****_***s.php , how can i find this file and delete it using one single command ????? (3 Replies)
Hi Gurus
I am facing a problem, there is a folder called /a where there are lots of files which are occupying space anything between 30 GB to 100 GB as I am not able to check the space occupied by that folder through "du -sh /a" command as I don't see any output after more than 1 hour of... (4 Replies)
Hi all
i have a directory where it has files as shown below.Using find command how can i delete files which were modified more than 20 days ago and having the pattern jnhld15231 or jnhld15232.
find ./ -name "jnhld15231^" -type f -mtime +20 -exec rm {} \;
find ./ -name "jnhld15232^" -type f... (2 Replies)
This is a real world problem so I think you might found this interesting. We have servers which are shared by multiple team members. Each team member has its own user id and home directory. Now with time each user starts creating files which in end caused the disk to be full.
Now for creating a... (5 Replies)
Hello All,
Can someone please help me out in creating the find command to search and delete files older than 1 days at a desired location.
Thanks in advance for your help. (3 Replies)
Hi,
I want to delete all the log files that was created on year 2008. My command is not working. Any idea?
find . -name '*.log' -mtime 1460 -exec ls -lt {} \;
Thank you. (2 Replies)
hi every one. one of my friends has writen this script and send it to me. this script can find files that add-delete-modify and also send an alert by email
i'm not catch all part of it.
can anyone explain me how this work
#!/bin/bash
START="a.txt"
END="b.txt"
DIFF="c.txt"
mv ${START}... (4 Replies)
Discussion started by: nimafire
4 Replies
LEARN ABOUT NETBSD
tpctl
TPCTL(8) BSD System Manager's Manual TPCTL(8)NAME
tpctl -- touch panel calibration utility
SYNOPSIS
tpctl [-D dispdevname] [-d devname] [-f filename] [-hnuv]
DESCRIPTION
tpctl is a touch panel calibration utility. tpctl calibrates a touch panel and saves and restores the calibration parameters into/from a
parameter database file.
Available command-line flags are:
-D dispdevname Specify display device name.
-d devname Specify touch panel device name.
-f filename Specify alternate parameter database file name.
-h Print brief description.
-n Do not change the parameter database file.
-u Force calibration. Without this flag, tpctl won't do calibration if the database file already contains parameters for the
touch panel.
-v Verbose mode.
You calibrate the touch panel the first time you run tpctl. If you see a cross cursor on the screen, you should tap the center of the cursor
to calibrate the touch panel, or you can abort the calibration with the 'ESC' key. Five cursors will appear on the screen in turn. Once
calibration is done, tpctl saves the calibration parameters into the database file and uses the saved parameters to calibrate the touch
panel.
You can run tpctl automatically with /etc/rc.d/tpctl.
FILES
/etc/tpctl.dat The default calibration parameter database file. The -f flag may be used to specify an alternate database file name. tpctl
will create an empty database file if it doesn't exist.
/dev/ttyE0 The default display device, which is used to display the cursor during calibration. The -D flag may be used to specify an
alternate display device name. The display device must provide the 'hpcfb' interface as defined in
/usr/include/dev/hpc/hpcfbio.h.
/dev/wsmux0 The default touch panel device. The -d flag may be used to specify an alternate touch panel device name.
SEE ALSO rc.conf(5)BUGS
tpctl isn't available on all ports because it requires a display device which provides the 'hpcfb' interface.
BSD August 25, 2002 BSD