Thread: zip problem
View Single Post
John Greer

 
Member Since: Jun 20, 2011
Posts: 56
John Greer is on a distinguished road

John Greer is offline
I'm new to Apple (converted in June, from decades of PC).
I want to archive my MS Office backup files.
I had no trouble doing it on my PC, but I'm having trouble converting the command to run on my Mac.
I have it running (made it executable), but it's not finding my files.

When I run:
Code:
#!/bin/bash
zip -m -r -o -9 -dc -dd  /Volumes/Backup2048/Word /Volumes/*.wbk "/Volumes/Backup of*.docx"
I get these messages:
zip warning: name not matched: /Volumes/*.wbk
zip warning: name not matched: /Volumes/Backup of*.docx
btw - Backup2048 is my USB backup drive and HDD2048 is my internal drive.

HELP!

-John

27" iMac w 4x3.4 GHz, iPhone 5 wannabe, 64GB iPod Touch & MobileMe
QUOTE Thanks