Skip to content

makingtheimpact/clone-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

clone-file

Python script that takes a file and clones it in a directory and all subdirectories.

Description

This script takes a file you specify and clones it. It creates a copy of it inside every directory, including subdirectories.

Use this plugin to clone an index.php file into all the directories of your WordPress plugin.

Features:

  • Works with any file type
  • Specify the file location and destination

How It Works:

  1. Download a copy of the script to your computer.
  2. Open a command prompt or terminal with admin privileges and navigate to where the script file is located using cd to change directories.
  3. Run the command: python clone-file.py to start the script.
  4. When prompted, enter the directory where the file you want to clone is located.
  5. When prompted, enter the file name with the extension (ie. index.php) that you want to clone.
  6. When prompted, enter the directory where you want the file to be cloned.

Once you do that, the script will perform it's magic and notify you when the job has been completed.

Changelog

1.0.0

  • Initial release of the plugin.

Upgrade Notice

1.0.0

  • First release of the script, no upgrade notices.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This plugin is open-sourced software licensed under the GPLv2 license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages