Groups | Search | Server Info | Login | Register
Groups > alt.os.linux.ubuntu > #212440
| From | George <invalid@invalid.invalid> |
|---|---|
| Newsgroups | alt.os.linux.ubuntu |
| Subject | Re: compressing and password protect file group individually? |
| Date | 2026-03-06 22:55 +0000 |
| Organization | To protect and to server |
| Message-ID | <10ofm5v$3b8qm$2@paganini.bofh.team> (permalink) |
| References | <10ofhk9$11at4$1@dont-email.me> |
On 06/03/2026 21:40, JR Dolobson wrote: > In Ubuntu, right now I'm selecting each individual file (left > clicking), right clicking and choosing compress, keeping same file > name, and then entering password, then create but this is going to > take a long time for well over a hundred files! I don't want to > create a new archive name for the group as this will mean that all > would have to be unzipped later. I just want to keep original file > names. thanks Try this: #!/usr/bin/env bash for f in *; do [[ -f "$f" && ! "$f" =~ \.gz$ ]] && gzip -9 "$f"; done ,gz doesn't support passwords!
Back to alt.os.linux.ubuntu | Previous | Next — Previous in thread | Next in thread | Find similar
compressing and password protect file group individually? JR Dolobson <dolob55J@erols.net> - 2026-03-06 16:40 -0500 Re: compressing and password protect file group individually? George <invalid@invalid.invalid> - 2026-03-06 22:55 +0000 Re: compressing and password protect file group individually? Paul <nospam@needed.invalid> - 2026-03-07 00:01 -0500 Re: compressing and password protect file group individually? mummycullen@gmail-dot-com.no-spam.invalid (MummyChunk) - 2026-03-19 19:08 -0400
csiph-web