bash script: skip files bigger than xGB
Hello all,
I have this basic script to backup files to a NAS: Code:
#!/bin/bash |
from "man zip"
Quote:
Code:
find . -size -10G -print | zip myzipfile -@ |
Quote:
|
erm.. i just gave you it... :confused: If you don't understand what a command you are given does, clearly you should never really run it. Maybe I'm tricking you..? Read the zip manpage as I quoted and check out what the command is actually doing if you can't tell from reading it directly.
|
All times are GMT -5. The time now is 06:50 PM. |