linux - rsync exclude folder contents but still create folder -


i have application:

folder1 folder2 cache      something_cached1      something_cached2 

now want rsync project server

but

if do

 --exclude=cache 

the folder won't existing in server so, error application tries write non existent location

quite simple see, add:

--exclude 'cache/*' 

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -