Skip to content

very simple app that allow you to use the linux touch command in windows

Notifications You must be signed in to change notification settings

copyleftdev/touch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Of course! Here's a README for your implementation of the touch command for Windows using Go:


🖋 touch for Windows - Go Implementation

A simple implementation of the classic Unix touch command for Windows, written in Go. Easily create new files or update the modification time of existing ones right from the command line.

📌 Features

  • Create New Files: Instantly create a new file if it doesn't exist.
  • Update Modification Time: Refresh the modification time of an existing file to the current system time.

🚀 Getting Started

Prerequisites

  • Go (version 1.x or newer)

Installation

  1. Clone the repository:
git clone https://github.com/copyleftdev/touch.git
cd touch
  1. Build the project:
go build -o touch.exe touch.go

This will generate the touch.exe executable.

Usage

To use the touch command:

./touch.exe <filename>

Replace <filename> with your desired file name.

🤝 Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss the changes you'd like to make.

📜 License

This project is licensed under the MIT License - see the LICENSE file for more details.

About

very simple app that allow you to use the linux touch command in windows

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages