20
rated 0 times
[
20]
[
0]
/ answers: 1 / hits: 4342
/ 2 Years ago, fri, march 4, 2022, 12:27:42
I have a script, this script creates a dump in /path/of/directory
and deletes it instantly. I want to copy that dump before it gets deleted.
I tried;
dump=$(ls -a | grep -E "^[0-9]+$")
cp $dump fulldump
But I only got a half of the script, not the full one.
More From » command-line