Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
The touch command is very useful in some cases, such as in a development environment when you want something like make to rebuild. It is also useful for archival reasons. Some examples might be, in development when I want to do a make depend type of operation, I might touch a file in a directory, say the .depend file. Let's say I am on a time sharing system and I have a file in /tmp which I want to keep there. I can touch it daily. Or, I might have a script that does incremental backups: find . -newer .lastback -exec add-file-to-archive {} \; if [[ success ]] then touch .lastback fi The above script finds all files that are more recent than the file, .lastback. If the operation was successful then it touches the .lastback file. "Kevin M. Gleason" wrote: > What is the purpose of the Unix/Linux touch command except for > programmer to say, "I really did have it done on such and such a date"? > (And didn't). Are we talking archival inclusion or something? -- Jerry Feldman <gaf at blu.org> Boston Linux and Unix user group http://www.blu.org - Subcription/unsubscription/info requests: send e-mail with "subscribe", "unsubscribe", or "info" on the first line of the message body to discuss-request at blu.org (Subject line is ignored).
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |