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
Post a Comment