Tag Info

New answers tagged

1

Though none may exist for your country there are national archives for some countries. E.g., see list of Web archiving initiatives. That web page lists software used in such initiatives for various countries. Some, such as Australia, use HTTTrack. Others use Heritrix, which is free under an Apache license, and has both a web interface and a command-line ...


2

Linux This should work: for pfx in $(for i in *.foo; do echo "${i%%[.(]*}"; done | sort -u); do 7z a "$pfx.7z" $pfx[.\(]*; done Explanation First we have to iterate all over the input files (*.foo) and strip away the suffix (${i%%[.(]*}) obtaining: file_123 file_123 file_123 foobar foobar foobar Then we can remove duplicates with sort -u: file_123 ...


0

Okay, instead of just giving you a shell script, I'm going to show you 7zips context menu. Step 1: Open your folder with all these files in. Step 2: Click on "Name" to order all files by their name (This will make it easy to select files with similar name beginnings). Step 3: With the right mouse button, drag and drop the select box over all the files you ...


1

People have been requesting Igor Pavlov for years now for a proper logging option but 7-Zip still lacks it. All you can do is redirect the output of the command line version (7za.exe) to a file yourself using >Log.txt 2>&1 (or >> if you want to append to an existing file). Additionally if you're calling it from a batch file you can test ...


1

Tar works the other way around when using -T. It archives the files including full path. If you don't want the path, strip it on extracting, e. g. Create Tarball tar -C /var/www/website html -cvzf html.tgz -T /tmp/htmllist.txt Extract Tarball tar -xvf html.tgz --strip-path=3 This strips 3 components from the output path, i. e. /var/www/website.



Top 50 recent answers are included