Let's say, I have two folders

./config
./application/config

how to exclude only the first one?

When I use

set :copy_exclude, ['config']

it will exclude all 'config' files/folders from all nested
directories. That's not what I wanted.

Is it possible to exclude only a folder, not a file if they have the
same name?

PS. I know, I can always use run("rm -rf /path/to/what/i/want') after
cap deploy, but I am looking for Capistrano built-in options if they
exist.

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to