02-17-2009
Thanks whiteboard/nilesh,
I don't want to change umask value and Looks like we cannot give permission while creating empty file.
Cheers,
gehlnar
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to "touch" all of the files in all of my directories.
Instead of typing touch *.* in each directory, how would have unix touch all files in all of my directories?
Thanks!! (1 Reply)
Discussion started by: a025321
1 Replies
2. Shell Programming and Scripting
hello
what is the difference between :
touch /home/toto
and
> /home/toto
thank you (5 Replies)
Discussion started by: pascalbout
5 Replies
3. UNIX for Dummies Questions & Answers
Hi,
This might be the stupidest question ever but here it goes, i need to create a file with the name Hello! It's $s It using the touch command
but whenever i use
touch 'Hello! It's $s'
i get s is undefined
touch Hello! It's $s
i get ' unmatched
Please help ^_^ (6 Replies)
Discussion started by: wsn
6 Replies
4. Shell Programming and Scripting
why am i unable to change the timestamp on a file
I'm getting the following error on AIX.
touch: cannot change times
Any help is appreciated.
Regards,
Ram. (4 Replies)
Discussion started by: ramky79
4 Replies
5. UNIX for Dummies Questions & Answers
I have a folder with many subdirectories and i need to set the modified date to today for everything in it. Please help, thanks!
I tried something i found online, find . -print0 | xargs -r0 touch
but I got the error: xargs: illegal option -- r (5 Replies)
Discussion started by: glev2005
5 Replies
6. Shell Programming and Scripting
I need to change the modified time to below time , but can't get through using touch
Nov 27 10:16 (2 Replies)
Discussion started by: dinjo_jo
2 Replies
7. UNIX for Dummies Questions & Answers
Is there a way to do...
touch ./config/newdir/newfile
if neither newdir and newfile exists?
man touch tells me there's not (?)
Is out there another tool to do that?
Thx in advance! :b: (6 Replies)
Discussion started by: funyotros
6 Replies
8. Shell Programming and Scripting
Hi all
I changed some of my files in my hoem directory to old dates using the touch command like this
touch -t 200805101024 file name
but after using this command the date changed properly but it displays like below
-rwxr--r-- 1 fincntrg fingrp 193619 May 10 2008 vi.pdf
I... (3 Replies)
Discussion started by: thelakbe
3 Replies
9. UNIX for Advanced & Expert Users
Hello,
I am trying to use touch command to create 1200 .txt files. I am using this, but it is not working.
touch `seq 1 1200`.txt
Regards,
Siddhesh.K (5 Replies)
Discussion started by: Siddheshk
5 Replies
10. Shell Programming and Scripting
Hi,
There are 2 users (T886072 & T864764) that need to be provided full (rwx) access to a directory. I made the changes to the directory permissions using chmod and setfacl :
root@digidb2:# chmod 700 /u02/ftpfiles/MFRS16/discount_rates/
root@digidb2:# setfacl -s... (3 Replies)
Discussion started by: anaigini45
3 Replies
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