[xubuntu-users] Terminal: Batch Unzip All *.7z Files In Folder While Deleting Each 7z File?

Luna Moon lunasilvermoon at gmail.com
Tue Jun 20 17:56:55 UTC 2017


"command to extract 7z files *.7z" && rm *.7z

If the first command fails it won't do the second command.

On Tue, Jun 20, 2017 at 12:19 PM, Jesse Palser <
jessepalsermailinglists at gmail.com> wrote:

> Hi,
>
> I need to batch(from terminal) decompress all *.7z files in a folder while
> deleting each 7z file.
> How can I do the above in Xubuntu 16.04?
>
> PS - If delete is not possible then how can I specify a different
> directory to unzip files to?
> (different HDD)
>
> Thanks!
>
> Jesse
>
> --
> xubuntu-users mailing list
> xubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/xubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/xubuntu-users/attachments/20170620/ca936756/attachment-0001.html>


More information about the xubuntu-users mailing list