ARGS in bash script
All
I want to define command like what is passed to +mtime and -mtime to whats below. So the command will run as:
script.sh 5 20
the 5 would go to the +mtime and the 20 would go to the -mtime.
#!/bin/sh
find . -type f \( -mtime +$args 1 -o -mtime +$ARGS[1] \)
|