Skip to content

A bash script which can сollect all sources into a single file

License

Notifications You must be signed in to change notification settings

Sammers21/source_collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Usage ./source_code.sh [FILE_TYPE] [DIRECTORY]
	WHERE 
        	FILE_TYPE is a type of source code file like a java, c, cpp, go, php, js, html
        	DIRECTORY is a path to dircetory with your sources
         
Results of collection can be found in source_code.txt file in the directory where you call this script

Notes: this script works only in *nix-like environment. NOT IN WINDOWS

Example of usage:
	./source_code.sh java . 
	Find all .java files in current dir and all subdirs and collect it in one file ./source_code.txt

Author: Pavel Drankov (c) 2017

About

A bash script which can сollect all sources into a single file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages