search for: remove_dir

Displaying 4 results from an estimated 4 matches for "remove_dir".

Did you mean: remote_dir
2007 Oct 03
2
excluding directories in rsync
...am trying to exclude a directory (and all file and sub-directories under that directory) when using rsync. I have spent two days on google, but everything that I can find there involves excluding individual files, not an entire directory. I have tried the following commands, but in each case the remove_dir and all of its sub-directories and files area still sent to the remote server. 1) rsync --delete --compress --archive --rsh=ssh --exclude="**/remove_dir/**" /local/path/ $user@$host:remote/path 2) rsync --delete --compress --archive --rsh=ssh --exclude="\*\*/remove_dir/\*\*"...
2006 Jun 14
2
Simple FileUtils question
Hi, I have a quick question. I am trying to create folders dinamically using FileUtils.mkdir, the problem is that if the folder already exist it gives me an error. Does anyone know if there are any options to mkdir that would let me overwrite the already existing directory? I just need to create a folder with the same name everytime. Any other solution you might suggest? Thanks. -- Posted
2006 Sep 26
4
Some documents not found
...et, :include => [:descriptions, :categories, {:skus => :supplieritems}]) offset += batch_size break if prods.size == 0 populate_index(index, prods) end # optimize it... puts ''optimizing index...'' index.optimize index.close # and finally copy it into place FileUtils.remove_dir(''search-index'') FileUtils.move(''search-index-new'', ''search-index'') ### --- populate_index method --- def populate_index(index, products) # get the ids of every product for caching purposes... ids = products.collect {|p| p.id} # pre-cache...
2008 Jul 14
18
[git patches] Ocfs2 and Configfs updates for 2.6.27
I'm running a bit late with the e-mail this time around, but I think that's ok since there really isn't any major new features here - the bulk of the Ocfs2 update is bug fixes, or cleanups. The same goes for configfs. The only two things that could be described as features would be: - Sunil has updated Ocfs2 to provide even more live cluster locking information via debugfs. - Joel