Displaying 4 results from an estimated 4 matches for "sub_fold".
Did you mean:
sub_folder
2012 Mar 26
1
Models in sub-folders in Rails 3
I have a Rails 2 project in which models are in sub-folders, but not in
a name space
app/models/sub_folder/posts.rb
class Post < ActiveRecord::Base
end
The controllers are also in sub-folders, but are name spaced (views also
in a corresponding sub_folder).
app/controllers/sub_folder/posts_controller.rb
class SubFolder::PostsController < ApplicationController
end
This works fine, but I want...
2023 Jul 26
1
Downloading a directory of text files into R
...dest_dir <- "~/Temp"
# first get the two subfolders from the Data webpage
link <- "http://home.brisnet.org.au/~bgreen/Data/"
page <- read_html(link)
page %>%
html_elements("a") %>%
html_text() %>%
grep("/$", ., value = TRUE) -> sub_folder
# create relevant disk sub-directories, if
# they do not exist yet
for(subf in sub_folder) {
d <- file.path(dest_dir, subf)
if(!dir.exists(d)) {
success <- dir.create(d)
msg <- paste("created directory", d, "-", success)
message(msg)
}
}
# pr...
2006 Feb 14
1
How can I order_by a sub folder?
Hi there!
I have a folder model which can contain sub-folders. I want to save the
sub-folders in a variable ordered by the name of the subfolders:
folder = Folder.find(1)
sub_folders = folder.folders # ... how can I order the sub folders by name
here???
Thanks,
Mischa.
2006 Jul 27
2
Cannot access WD's NetCenter drive from linux
...longer 'ls'
anything in that directory. The stat command reported
input/output errors.
/var/log/messages is full of errors along the lines
of:
Jul 24 16:57:51 mj-desktop kernel: smb_add_request:
request [f5d3b980, mid=10175] timed out!
Jul 24 16:57:51 mj-desktop kernel: smb_lookup: find
//sub_folder failed, error=-5
I can also no longer umount that directory; Linux
thinks the device is busy. I can't rmmod the smbfs
kernel module. The only way to recover is to reboot
the machine.
If, on my Linux machine, after rebooting, I mount the
share and quickly try to cp a file over from the
rem...