Shirt Pocket Discussions

Shirt Pocket Discussions (
-   General (
-   -   How to copy a single folder plus contents (

Irl 08-13-2009 07:35 AM

How to copy a single folder plus contents
On my volume Extra there is a top-level folder ToBackup. I want to Smart-Update it to a sparse image called ToBackupBackup. I started with the Backup - All Files script, added and added two commands to it:
ignore *
copy ToBackup
and saved it as "Backup pix SuperDuper"
When I run that script, everything on Extra is copied. What should the commands be to copy just the one ToBackup folder and its contents?

Irl 08-13-2009 07:47 AM

OK, it's fixed but it's weird ...
I just noticed the forum has a "similar threads" feature and found DN's "I just wanted to copy a single folder but it copied the whole drive". I tried adding
ignore .*
so now the commands are
ignore *
ignore .*
copy ToBackup
and now it works perfectly. But why?? The problem was not that it was copying some of the hidden files but that it was copying a bunch of other folders with normal names.

dnanian 08-13-2009 08:57 AM

Even better, you should include "Exclude all files". But ignore * should have (generally) worked, assuming there were no hidden folders.

All times are GMT -4. The time now is 09:25 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.