Answer the question
In order to leave comments, you need to log in
How to pass many identical parameters to the program in sh script?
While experimenting with Linux, you need to look at what files have changed recently. I wrote a simple script, even seemingly working:
#!/bin/bash
# echo $0
# echo $1
# echo $2
# echo $3
find $1 -mmin $2 -not -path "/dev/*" -not -path "/sys/*" -not -path "/proc/*" -not -path "/home/sergey/.config/google-chrome/*" -not -path "/home/sergey/.cache/google-chrome/*" -not -path "/home/sergey/.cache/mesa_shader_cache/*" 2>/dev/null
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question