Re: File Decompression Issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



the NLS books aren't actually compressed directory structures
as such. Rather, they are compressed archives consisting of
multiple files that need to be housed within their own
respective directories.

Between your info and Lloyd's post, if you want to uncompress a number of them, you can do it with a shell one-liner (assuming a modest number of books and you can hit them with a file-globbing spec):

 bash$ cd ~/books
 bash$ for f in *.zip; do unzip -d "${f/#.zip/}" "$f"; done

This will iterate over your globbing pattern ("*.zip") and unzip each file into a directory of the same name minus the .zip extension.

-tim



_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list


[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]