Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ghazaleze/simple-script
search in a directory
https://github.com/ghazaleze/simple-script
linux script
Last synced: about 1 month ago
JSON representation
search in a directory
- Host: GitHub
- URL: https://github.com/ghazaleze/simple-script
- Owner: GhazaleZe
- Created: 2020-01-30T16:56:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-07T09:42:54.000Z (almost 5 years ago)
- Last Synced: 2024-11-09T17:26:18.874Z (3 months ago)
- Topics: linux, script
- Language: Shell
- Homepage:
- Size: 0 Bytes
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple script (search in a directory)
This is a simple script that has 3 entry parameters. They are :
1.file format
2.directory name
3.text to search
The script finds all text-to-search(third parameter) that is in a directory name(second parameter) and has a file format (first parameter).
## example:
```sh
$ script.sh *.c /home printf
```
Find all .c file in /home directory that contains printf and prints them.