Questions tagged [touch]

touch is a command line utility to change file timestamps.

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
70 views

Why does the touch command work in one directory, but not in the other?

On the same mount, the touch command sometimes doesn't work Using different directories on the same mount, the touch command gives different results **bob@syno ~ % ll -d /volume1/media ; ll -d /...
2
votes
0answers
761 views

Touch screen drivers

I have an Android tablet which is using Atom CPU, so I want to get Linux onto it. I used Gentoo(4.2.4 kernel), everything is fine except for the touch screen. On Android I can see the following ...
2
votes
0answers
444 views

Touch-friendly LXDE app launcher

I am about to make a tablet with a raspberry pi and would like an interface for launching apps that is touch-friendly. The gnome app launcher seems very well suited for this to me. Because of the ...
1
vote
1answer
1k views

If rc.local is run as root why can't it touch a file

I wish to execute a script every time on boot-up using /etc/rc.local. My script for example is called startscript.sh which is stored in /home/debian as below. It first tries to create a file called ...
1
vote
0answers
218 views

touch is creating files one hour behind the current time. How to set it with current time?

All ordinary users on my linux box have an issue. When they create a file using $ touch test.txt or using script and do ls -ali | grep test.txt I notice that the time of the file is one hour behind ...
1
vote
1answer
709 views

Touch command “Invalid timestamp” android phone

I have used the adb shell command to shell into my android device. I then tried to run the command... touch -t 201108231405.14 *.png To changed the modified time of all the files in the Photos ...
1
vote
0answers
671 views

How to change last modification date and time, regardless of timezone and DST?

I have two files and I need to change their last modification date: both should be midnight, one on 25th June and the other one on 25th November. Basically, this: touch -cmt 201606242359.60 summer-...
1
vote
0answers
360 views

No touchscreen input in App when Ubuntu launches

Ubuntu 16.04 using a touchscreen. We are developing an application that will launch when the OS first starts up. We plan to use the computer with touch screen only. No mouse or keyboard. The problem ...
1
vote
0answers
340 views

Arch: How can I hide the pointer when I'm using my touch screen?

I just installed Arch on my Lenovo Yoga 2 11" convertible laptop, and it's great so far, but when I use my touch screen, the pointer follows my touches, which it doesn't do on Ubuntu or Fedora. How ...
1
vote
0answers
614 views

Changing file time using touch

Im trying to change the file time of a m#merge the files to a temporary file. mergecap -w "${dir_dcn}"/merge_dcn.pcap "${FILES_dcn[@]}" touch -r "${FILES_dcn[14]}" dcn_file ls -l dcn_file >> ...
0
votes
0answers
51 views

Unable to write to a folder on a drive on AiX system

I logged in the server with the below user id. myhost:hkgdb:/wd/user1>id uid=214(user1) gid=321(dba) groups=1(staff) I'm getting the following error while writing to a file: myhost:hkgdb:/wd/...
0
votes
0answers
70 views

What does “touch /reconfigure” before a reboot do?

We have a situation that spontaneous shutdowns are occurring on our Wind River Linux 6 system, and in the syslog, I see a /bin/touch /reconfigure followed by an /sbin/init 0. I can tell from another ...
0
votes
1answer
53 views

Qt and dual monitor with touch screen

I have a Qt-based program (using eglfs platform), and 2 monitors, one LVDS and the other one is connected by HDMI. The LVDS monitor is a touch screen. The screen of HDMI is placed to the right of the ...
0
votes
1answer
535 views

Change modification timestamps using touch with time offset across group of files

I'm trying to change the modification timestamps using touch on a group of images that gets accessed by an external program that sorts them by modification date. The current mod times of these files ...
0
votes
0answers
499 views

Selective touch screen input in linux (wacom - or X11?)

I was wondering what would be the most straightforward way to have a selective touch screen input with wacom devices. I have an x1 yoga (laptop/tablet with the latest gen wacom touch and pen input. ...
0
votes
1answer
93 views

move file based on iso8601 date format that is 1 week old

I have a set of backups that run on a cron job every 4 hours (00:00, 04:00...etc). These files are named based on; NOW=$(date +%F-%a-%H.%M)-filename which translates to 2016-10-25-Tue-04.00-filename. ...
-1
votes
1answer
43 views

How to create directory and files inside the directory

I want to know how to place files using touch command inside an directory whether it is multiple or single file.help is appreciated
-1
votes
1answer
1k views

Getting “Permission denied” when trying to create a file despite correct permissions

I’m using Amazon Linux and running a script through a Jenkins job, including this line touch /usr/java/jboss/standalone/deployments/myproject.war.dodeploy which results in the error … touch: cannot ...