Skip to content

A touch command like script made with Python

gagangulyani/touch-command-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Touch Command (Python Script)

This is a simple script which can create multiple files and updates the modified time if files exist.

In other words, It mimics the functionality of touch command in Linux.

Usage

For creating single file

python touch.py <filename>

For creating multiple files

python touch.py <filename1> <filename2> <filename3>

Examples

Creating Multiple Files

Creating Multiple Files

Updating Modified time of existing file

Updating Modified time of existing file

About

A touch command like script made with Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages