Displaying 20 results from an estimated 10000 matches similar to: "2 subdirectories 1 controller?"
2011 Jan 23
3
tar-ing subdirectories separately
I want to backup a directory using tar, but want separate tarballs for each
subdirectory. For example:
# ls dir1
subdir1 subdir2 subdir3
Will it possible to do it using only tar command? Or will I need another
separate piece of logic/control? I thought of writing a shell script with
three tar commands for each subdirectory, but that's not elegant way of
doing it. Also, it may not scale as
2020 Sep 01
2
Unable to create subdirectories/files in samba mount when using vfs objects = glusterfs
Hi Team,
I am trying to setup a samba CTDB cluster to export gluster volme as samba share. While CTDB cluster works well, I ran into an issue with creating subdirectories and also creating files/directories within subdictories when accessing the share from both linux and windows servers.
Setup details :
We have a three node cluster with nodes snode1, snode2 and snode3. I have a
2007 Dec 16
1
Change destination root?
I'm wondering if it's possible to do the following.
I've got a source directory of /data with several subdirectories such as
subdir1/ subdir2/ subdir3/ , etc. I'd like to rsync these to a different
host under directory /backup, so that I have paths /backup/subdir1,
/backup/subdir2, etc. I also need to be able to use the option --files-from.
So, a source dir of /data on host1,
2023 Feb 14
1
File\Directory not healing
I guess you didn't receive my last e-mail.
Use getfattr and identify if the gfid mismatch. If yes, move away the mismatched one.
In order a dir to heal, you have to fix all files inside it before it can be healed.
Best Regards,
Strahil Nikolov ? ???????, 14 ???????? 2023 ?., 14:04:31 ?. ???????+2, David Dolan <daithidolan at gmail.com> ??????:
I've touched the directory one
2010 Jul 28
2
wget and resulting filenames with mirror option
I am trying to mirror a directory using wget and the resulting files as
expected are taking the name of the string in the url after the last "/".
Anyone know a way around this? I am using the mirror option so I don't
have to keep track of what to get making it simple.
Thanks!
jlc
2002 Dec 24
1
Persmissions on 'root' folder
Hi,
I'd like to accomplish te following but can't seem to find how:
Share1
subdir1
subdir2
Share 1 that is connected by our Windows clients, should NOT be writable
directly. This means, nobody (except a specified group/user?) should be
able to create a top-level folder or file in this share.
Write and execute rights through the subdir1 and subdir2 should however
be left alone and
2006 Jul 28
8
Building a Search Page as part of CRUD
I''ve been experimenting with Rails over the past couple of days and
have come across something that seems harder than it should be. In
previous frameworks I have used (WebObjects, php) a full search page
(which leads into a list view populated with search results) was part
of the CRUD that was either dynamically or statically created after
specifying table/object schema. In
2010 Jan 10
7
IIS + Apache + Mongrel: Problem with big data submit form
Hi all,
I deployed a Rails application on a Windows Server 2003 machine as
follows:
+ I created two instances of Mongrel at ports 4001, 4002 to serve the
application
+ I set up an Apache instance at port 8080 for balancing load for the
two Mongrels => So I can access my website at URL http://mywebsite:8080/
+ I want to allow users access my website without typing port 8080 in
the URL.
2006 Oct 29
1
ActiveRecordStore: Where is the session id generated?
Where can I find the algorithm that generates the session ids for the
ActiveRecordStore (sql session)?
Thanks,
Shimon Amit
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To
2004 Jul 19
1
Rsync: Directories become Symbolic Links
Hi all,
I have rsync'ed directory /rootdir/dirdir/ from Server1 to Server2, using cmd on Server2 "rsync
Server1:/rootdir/dirdir -avz /rootdir/dirdir". There were some sub-directories from Server1 got
updated to become the symbolic links. For example, directory /rootdir/dirdir/subdir1/ now becomes
the symbolic link /rootdir/dirdir/subdir1 pointing to the new created directory
2020 Sep 01
0
Unable to create subdirectories/files in samba mount when using vfs objects = glusterfs
Hi Team,
I am trying to setup a samba CTDB cluster to export gluster volme as samba
share. While CTDB cluster works well, I ran into an issue with creating
subdirectories and also creating files/directories within subdictories when
accessing the share from both linux and windows servers.
Setup details :
We have a three node cluster with nodes snode1, snode2 and snode3. I have a
gluster
2017 May 29
1
{centos 6} errors in libvirtd, all sites down, need advice
Today out of the blue...boom all sites down.
I use a bridge and virtual machines, 5 websites.
virsh shows me all machines are up and running, everything looks okay,
but cannot get to sites.
Here are the errors listed in the log, condensed due to multiples of
same errors.
there is some kid or error reading data, then there is some kind of
network collision (bobnet, no idea what that is)
2007 Jan 22
5
rails helpers are adding extra folders
i have a new rails site that i am setting up just like i normally do with
all of the other sites. i created a subdomain which is pointed to a
subfolder in my public_html.
i can view the site both at test.mywebsite.com and mywebsite.com/test/ but
when i view it by the subdomain, rails helpers are adding the /test/ to all
of my resources, so none of my images or style sheets are found.
this
2016 Apr 01
1
Using R for cURL commands
Hello,
I'm looking for a way in which R can make my live easier.
Currently i'm using R convert data from a dataframe to json's and then sending these json's to a rest api using a curl command in the terminal (i'm on a mac).
I've been looking for a way to use R for sending data from R to the rest api. My primairy focus was on using R for executing the curl command,
2010 May 11
2
Creating a HTTP Request on missed call?
Hello there,
I have successfully installed and configured asterisk for use as an
office PBX using SIP trucks and Voip handsets (using g.729 codec)
which works great.
Now I wish to try and configure asterisk to do a HTTP request and
submit callerID to an external website when a call is missed. eg
Someone calls PBX and rings extension 100 -> Call is not answered ->
HTTP request is initiated
2007 Jan 25
4
X-Sendfile doesn''t work
Hi everyone,
I try to use the "X-Sendfile" header, but it doesn''t work as expected.
In my controller:
path = "/home/bruno/file.tar.gz"
headers[''X-Sendfile''] = path
headers[''Content-Type''] = "application/octet-stream"
headers[''Content-Length''] = File.size(path)
render :nothing => true
When I request
2006 Jan 17
2
actionmailer
I''m getting an error when I''m tyring to use the actionmailer.
undefined method `deliver_signup_thanks'' for Notifier:Class
This is what I have in the controller.
def emailTest
Notifier::deliver_signup_thanks()
render_text "email test"
end
This is what I have in notifier model (notifier.rb)
class Notifier < ActiveRecord::Base
def
2006 Jan 30
5
Action Mailer woes
Hi gang,
Im having my first stab at ActionMailer and not having any luck. Perhaps
someone could help me out.
I generated a a mailer called ItemMailer - its purpose is to take some
information that I''ve already gathered in a ToDo list form and to mail
it out to the person who is nominated for the task
In environment.rb I have;
ActionMailer::Base.server_settings = {
:address =>
2015 Apr 23
3
CentOS 7 NFS client problems
#define TL;DR
Despite idmapd running, usernames/IDs don't get mapped properly.
Looking for a workaround.
#undef TL;DR
I'm trying to get a new CentOS 7.1 workstation running, and having
some problems with NFS filesystems. The server is a fully patched
CentOS 6 server.
On the NFS filesystem, there are two subdirectories owned by a
regular user (joe). (There are actually more and by
2006 Jun 20
4
Invoking MouseOver using link_to tag ?
Hi,
How can we trigger a JavaScript built in function from a <%= link_to %>
ie. i have the below statement in my view. I want to invoke a JavaScript
function on "MouseOver" of this below text (''TestingMouseOverEvents'').
<%= link_to "TestingMouseOverEvents" , :controller => "login", :action
=> "logout"%>
Note: The