Thread: help with 7za
View Single Post
Old November 15th, 2012, 12:01 AM   #2 (permalink)
Senior Member
9to5cynic's Avatar
Join Date: Feb 2011
Location: /home/
Posts: 4,858
Device(s): Galaxy S3 (Verizon) Evo 4G - retired/rooted
Carrier: Verizon

Thanks: 3,066
Thanked 1,763 Times in 1,189 Posts
Send a message via AIM to 9to5cynic

Hmm.. I don't this is 100% what you were going for, but I *think* it'll work.

I did this with 7zr by they way... I think it's quite similar.

ls /your/dir | grep -v ".7z" | grep -v ".zip" > /tmp/out.1
7zr a arch1.7z @/tmp/out.1
I tried it a few ways before and I was getting the same error you were. I think it has to do with the brace expansion, but I'm not sure. This just creates a list file and then calls that list file.

Hope that helps.
9to5cynic is offline  
Reply With Quote
The Following 2 Users Say Thank You to 9to5cynic For This Useful Post:
argedion (November 15th, 2012), EarlyMon (November 16th, 2012)