search for: subdir2

Displaying 20 results from an estimated 23 matches for "subdir2".

Did you mean: subdir
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, with a --files-from file containing: subdir1 subdir2 sub...
2016 Jan 16
0
[PATCH v2, resend] ignore-non-existing-directory: add variant of ignore-non-existing
...file mode 100644 index 0000000..971ee20 --- /dev/null +++ b/testsuite/ignore-non-existing-directory.test @@ -0,0 +1,47 @@ +#! /bin/sh + +# This program is distributable under the terms of the GNU GPL (see +# COPYING). + +. $suitedir/rsync.fns + +makepath "$fromdir/subdir1" "$fromdir/subdir2" "$todir/subdir1" +echo data >"$fromdir/subdir1/file" +echo data >"$todir/subdir1/file2" +echo data >"$fromdir/subdir2/file" + +# Test 1: Ensure subdir2 and content under it are not created +$RSYNC -r --ignore-non-existing-directory -vv "$f...
2015 Nov 28
0
[PATCH v2] ignore-non-existing-directory: add variant of ignore-non-existing
...file mode 100644 index 0000000..971ee20 --- /dev/null +++ b/testsuite/ignore-non-existing-directory.test @@ -0,0 +1,47 @@ +#! /bin/sh + +# This program is distributable under the terms of the GNU GPL (see +# COPYING). + +. $suitedir/rsync.fns + +makepath "$fromdir/subdir1" "$fromdir/subdir2" "$todir/subdir1" +echo data >"$fromdir/subdir1/file" +echo data >"$todir/subdir1/file2" +echo data >"$fromdir/subdir2/file" + +# Test 1: Ensure subdir2 and content under it are not created +$RSYNC -r --ignore-non-existing-directory -vv "$f...
2006 Jul 12
5
2 subdirectories 1 controller?
Hi, I''d like to create the following setup with RoR: www.mywebsite.com/subdir1/order/create www.mywebsite.com/subdir2/order/create I''d like both urls to call the same action in the same controller. How can I do this? I know this may be complicated, but I''m prepared to go a long way. Shimon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails...
2004 Jul 19
1
Rsync: Directories become Symbolic Links
...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 /rootdir/dirdir/subdir2/: Before: Server1 % ls -ld /rootdir/dirdir/subdir1 drwx-xr-x 3 vhuynh 512 Jul 12 2001 subdir1 After: Server1 % ls -ld /rootdir/dirdir/subdir1 lrwxrwxrwx 1 vhuynh 19 Sep 3 2002 subdir1 -> subdir2 Therefore, on the Server2, rsync could not update the old directory sub...
2015 Nov 28
0
[PATCH] ignore-non-existing-directory: add variant of ignore-non-existing
...file mode 100644 index 0000000..06292d3 --- /dev/null +++ b/testsuite/ignore-non-existing-directory.test @@ -0,0 +1,26 @@ +#! /bin/sh + +# This program is distributable under the terms of the GNU GPL (see +# COPYING). + +. $suitedir/rsync.fns + +makepath "$fromdir/subdir1" "$fromdir/subdir2" "$todir/subdir1" +echo data >"$fromdir/subdir1/file" +echo data >"$fromdir/subdir2/file" + +# Test 1: Ensure subdir2 and content under it are not created +echo $RSYNC -ar --ignore-non-existing-directory -vvv "$fromdir/" "$todir/" +$RSYNC...
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 thus...
2002 Sep 24
2
rsync to a symlink directory
...sub_dir1 file1 file2 ... sub_dir2 ... Destination: /home/test2/real_dir sub_dir1 file1 file2 ... subdir2 ... /home/test2/link_dir@ -> real_dir Now I want to update file1. If I run the command rsync -aRz file1 destination:/home/test2/link_dir/sub_dir1 from /home/test1/link_dir/sub_dir1 on source, no problem, the file is updated. If I run the command rsync -aRz link_dir/sub_...
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 number of subdirectories change...
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
2020 Sep 01
2
Unable to create subdirectories/files in samba mount when using vfs objects = glusterfs
...me issue happens on windows , but I get a different error message it says ?the file ? ? is too large for the destination file system. [root at sclient1 smbshare32]# cd subdir1/ [root at sclient1 subdir1]# touch a touch: setting times of ?a?: Invalid argument [root at sclient1 subdir1]# mkdir subdir2 mkdir: cannot create directory ?subdir2?: Invalid argument [root at sclient1 subdir1]# Below two scenarios works well: If I mount the cifs mount on the client using vers 1.0 , I am able to create files and directories. //10.4.0.31/gluster-smbshare32 /smbshare32 cifs vers=1.0,crede...
2020 Feb 28
0
doveadm acl recursive
...or acting recursive. But the documentation says wildcards can be given on the mailbox name. But this doesn't work. No matter how the mailbox name is provided with a wildcard, doveadm always tells Mailbox doesn't exist. Folder example: public/project1 public/project1/subdir1 public/project1/subdir2 public/project1/subdir2/subsubdir3 Setting acl on the given mailbox works for all of them. But how can I set for "public/project1" and all its subfolders in one command? Even "doveadm mailbox list" gives the error above when using wildcard. (I also tried all combinations of qu...
2006 Aug 03
0
Problem using smbfs with large directory
Hello !!! I am using smbfs to connect a windows shared directory. Most time everything works fine, but there is something that happens once in a while The mentioned directory is divided in subdirectories. Let's suppose the directory tree is: DIR1 SUBDIR1 SUBDIR2 The mount point /mnt/dx is connected to DIR1. If I give the command: "ls /mnt/dx" in a command-line shell prompt, I received the list of file and directories inside DIR1 correctly. if I give the command: "ls /mnt/dx/SUBDIR1" everything works fine as well. However, if I give...
2004 Mar 22
0
samba and symlinks
...mark 100 Mar 21 11:13 test /tmp/TEST/test: drwxr-xr-x 2 mark mark 40 Mar 21 11:13 directory -rw-r--r-- 1 mark mark 0 Mar 21 11:13 file drwxr-xr-x 3 mark mark 60 Mar 21 11:13 subdir1 /tmp/TEST/test/directory: /tmp/TEST/test/subdir1: drwxr-xr-x 2 mark mark 240 Mar 21 11:19 subdir2 /tmp/TEST/test/subdir1/subdir2: lrwxrwxrwx 1 mark mark 5 Mar 21 16:04 badlinktoetc_1 -> /etc/ lrwxrwxrwx 1 mark mark 40 Mar 21 16:04 badlinktoetc_2 -> ../../../../../../../../../../../../etc/ lrwxrwxrwx 1 mark mark 11 Mar 21 16:04 badlinktopasswd_1 -> /etc/passwd lrwxrwxrw...
2007 Apr 04
3
foreach loops, iteration, in functions?
...#39;file'' element, when using it to create directory structures (in regards to parent dirs). With that said, I was thinking that it might be helpful to do something such as this: class dir_tree { mkdir { "/var/repo/subdir": owner => root } mkdir { "/var/repo/subdir2": owner => root } mkdir { "/mnt/nas/nas01" } mkdir { "/mnt/nas/nas02" } } define mkdir ($owner => root, $group => root) { for each i in (split(''/'', $name) { file { $i: owner => $owner, $group => $group }...
2020 Sep 01
0
Unable to create subdirectories/files in samba mount when using vfs objects = glusterfs
...ame issue happens on windows , but I get a different error message it says ?the file ? ? is too large for the destination file system. [root at sclient1 smbshare32]# cd subdir1/ [root at sclient1 subdir1]# touch a touch: setting times of ?a?: Invalid argument [root at sclient1 subdir1]# mkdir subdir2 mkdir: cannot create directory ?subdir2?: Invalid argument [root at sclient1 subdir1]# Below two scenarios works well: If I mount the cifs mount on the client using vers 1.0 , I am able to create files and directories. //10.4.0.31/gluster-smbshare32 /smbshare32 cifs vers=1.0,credentials=...
2015 Apr 23
3
CentOS 7 NFS client problems
...he client machine is unable to perform various operations. (The operations work when logged into the server.) $ whoami joe $ cd /nfs $ ls -l drwx------. 6 joe joe 4096 Apr 23 11:20 one drwxr-xr-x. 4 joe joe 4096 Dec 14 2011 two $ cd one one: Permission denied. $ cd two $ ls subdir1 subdir2 $ touch testfile touch: cannot touch testfile: Permission denied mount(1) shows that the filesystem is mounted rw. The server has it exported rw to the entire subnet. Other machines (CentOS 5) mount the same filesystems without a problem. Looks a lot like an idmapd issue, right? On the server:...
2016 Mar 17
1
[Bug 11800] New: smarter "safe" symlink detection
...i, We are using --copy-unsafe-links to sync a complex file/directory tree that spans over multiple nfs drives to another site. However, --copy-unsafe-links considers the following subdir1_link symlink as "unsafe": /nfs/dir1/subdir1/ |-- file1 |-- subdir1_link -> /nfs/dir1/subdir1 `-- subdir2 `-- file2 subdir1_link is detected as unsafe and therefore its content is synced over and over and therefore we get the following: /nfs/dir1/subdir1/subdir1_link/subdir1_link/subdir1_link/... Is it possible to detect that subdir1_link is actually a "safe" symlink and sync it as:...
2003 Sep 22
0
multiple permissioning for same user in username.map
...local account on the samba server, typically an example would be; [foo] path = /toplevel/subdir1 valid users = localacc, some_service_account_from_ads_domain1, some_service_account_from_ads_domain1 guest ok = no writeable = yes [otherfoo] path = /toplevel/subdir2 valid users = localac2, some_service_account_from_ads_domain1, some_service_account_from_ads_domain1 guest ok = no writeable = yes I have my usermap.txt like this; localacc = some_service_account_from_ads_domain1, some_service_account_from_ad_domain1 localac2 = some_serv...