Displaying 20 results from an estimated 2000 matches similar to: "Samba Recycle Age limit."
2017 Sep 04
0
Samba Recycle Age limit.
For me, is "magic line"
find $DEST -depth -mtime +$DAYS -print -delete
$DEST = Files
+$DAYS = Days is retention
Regards,
Em 04-09-2017 04:28, sithu via samba escreveu:
> Dear ,
>
> My current samba versiion is samba-4.4.4 and running on centos 7.2
>
> My current samba have recycle enable .
>
> I want to age limit for recycle bin .
>
> Please kindly let me
2017 Sep 07
2
Samba Recycle Age limit.
Carlos A. P. Cunha via samba wrote:
> For me, is "magic line"
>
> find $DEST -depth -mtime +$DAYS -print -delete
----
I'm guessing you probably want 'ctime' there.
If you use mtime, then it will be deleted "ndays" after
the last modification date on the file -- NOT the time the file
was moved into the recycle bin.
If you use ctime - that
2004 Jun 29
2
iptables update hoses shorewall
Just upgraded iptables on two of my gentoo boxes (no help there, so
I''m trying here ). The upgrade is just to a newer gentoo release of
iptables 1.2.9. After the package built, I issued a "shorewall stop",
and got:
shorewall stop
Loading /usr/share/shorewall/functions...
Processing /etc/shorewall/params ...
Processing /etc/shorewall/shorewall.conf...
Stopping
2004 Sep 29
5
Warning: number of items to replace is not a multiple of replacement length
What does this warning mean precisely?
Is there any reason to care about it?
Can I Avoid it by another way of programming?
Thank you in advance.
2017 Sep 13
2
compounding precipitation based on whether falls within a day
Using the small reproducible example below, I'm wondering how best to
complete the following task:
In the small reproducible example below, the 3D array prec has indexes that
correspond to time, x, y (i.e., prec[time, x, y]). In this case, the time
index is hours since some predefined start time. I'd like to add up all
the time indexes in 'prec' based on whether or not the
2008 Jan 25
2
form formatting
If I want to use fbml elements and rails tags, is there a way to do
within a fb:editor?
if I do:
<% facebook_form_for(:task, at task,:url => create_task_path) do |f| %>
Assign Task To: <%= fb_friend_selector %>
<%=f.text_field :ttype, :label=> "Title"%>
<%=text_field_tag :newrnumdays, ndays, :label => "# Days"%>
2017 Sep 13
0
compounding precipitation based on whether falls within a day
Thanks for the reprex. Wouldn't have bothered without it.
The following is I believe **almost** what you want. It seems a bit clumsy
to me, so others may provide you something neater. But anyway...
## Convert POSIXct vector to dates
## There are 22 different days, not 21
date <- as.Date(prec_idx)
## Sum results by date at each i,j of the last 2 array dimensions
z <-
2011 Sep 29
2
constant variable
How to make a variable constant in ruby so that the value remains
fixed throughout and cannot be altered at any cost
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2011 Mar 04
2
How to copy data from data.frame to matrix
Hello
I'm a new in R
I have a large data.frame "s" (this is actualy just a table in mysql) :
> names(s)
[1] "symbols", "day", "value"
I need to convert it to simple matrix. I have define this matrix like this:
> data.matrix <- matrix(nrow=nDays, ncol=nSymbols, dimnames=list(days,
symbols))
then i just copy values to the matrix using for()
2003 Nov 06
2
Number of Days
Hi everyone,
I have been trying to compute numbers of days between two dates as follows:
> x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960")
> z <- format(x, "%d%b%Y")
> ex <- c("1jan1961", "15jan1960", "21mar1975", "10jul1981")
> ez <- format(ex, "%d%b%Y")
> ez-z
2009 Mar 19
1
subtract values
Dear R-help
I am using R version 2.6.2. I am trying to subtract specific values from a larger data frame. I feel this should be straightforward, but I am struggling.
I have a dataframe "Bk" as follows:
DateTime cumPrecip
01/01/2008 00:00 348
01/01/2008 01:00 348
01/01/2008 02:00 348
01/01/2008 03:00 347
01/01/2008 04:00 348
01/01/2008 05:00 348
01/01/2008 06:00 349
2005 Dec 19
3
given a mid-month date, get the month-end date
I have a vector of dates.
I wish to find the month end date for each.
Any suggestions?
e.g.
For 12/15/05, I want 12/31/05,
For 10/15/1995, I want 10/31/1995, etc
__________________________________________________
[[alternative HTML version deleted]]
2008 Aug 13
3
config-file for recycle bin
I make a recycle bin as follow:
config-file = /etc/samba/recycle.conf
vfs object = recycle
recycle:subdir_mode = 0770
recycle:keeptree = Yes
recycle:repository = Recycle Bin
recycle:versions = Yes
recycle:directory_mode = 0770
But testparm shows:
Unknown parameter encounter: "config-file"
Ignoring unknown parameter "config-file"
What could be the problem and the solution?
2005 Sep 30
1
recycle not working as I expected
I have the following in my configuration file and recycle is working for the share but
- versions is working as I expected
- touch does not seem to be changing the time on the files to show me when they were deleted
- keeptree does not work when there are multiple users within a share and prevents the recycle from working in some cases.
---- if user1 deletes a file everything works fine. If
2015 Mar 17
2
Recycle Bin On Share
Hello,
Is this the preferred method for adding a recycle bin to a share?
Share is located on a Samba 4.1.17 member server. Thanks.
/|[share]|/
path = /data/share <https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#PATH>
vfs objects = recycle <https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#VFSOBJECTS>
recycle:repository = .recycle
2015 Mar 17
1
Recycle Bin On Share
Rowland,
How exactly does this command work?
recycle:repository = .recycle/%U
Does the command create user folders with '.recycle' sub folders?
On 3/17/2015 10:23 AM, Rowland Penny wrote:
> On 17/03/15 14:05, James wrote:
>> Hello,
>>
>> Is this the preferred method for adding a recycle bin to a share?
>> Share is located on a Samba 4.1.17 member
2004 May 26
1
example configuration for VFS recycle
Hi SAMBA users
Can anybody give me an working part of an smb.conf for vfs recycle?
I use SAMBA 3.0.2-7 on Fedora Core 1
I have read the samba howto and now I know the possible options but not
the right syntax. I found only examples for SAMBA 2.x.
I tried the following (smb.conf ) but it isn't working for the specific
share Daten
[Daten]
vfs objects = recycle
recycle:repository =
2003 Jul 04
1
recycle under samba-3.0.0beta2-1
hi,
i got a small problem with the recycle under samba-3.0.0beta2-1 on a redhat
9.0 machine.
when i delete file the files move to the recycle bin. when i check the
recycle bin all files
are in the main directory and not with the directory structure.
my /etc/samba/recycle.conf looks so:
name = .recycle
# mode :
# KEEP_DIRECTORIES = retain directory hierarchy of deleted file,
#
2014 Feb 03
1
VFS module recycle not working
Hello,
I'm using Samba 3.6.9 on a CentOS 6.5 machine and want to enable the
'recycler'-feature. So I added following lines to the [global]-section
of my smb.conf:
vfs object = recycle
recycle:repository = .deleted/%U
recycle:keeptree = Yes
recycle:touch = Yes
recycle:versions = Yes
recycle:maxsixe = 0
recycle:exclude =
2014 Apr 15
2
VFs recycle, what about a trigger to delete files after xxxx!?
Dear all,
I am working with vfs recycle and it is a real great thing.
But something I missed all the years is a param like :
recycle:purge=MAXDAYS. (where MAXDAYS is, Age of which files and directories
are stored
In the recycle before they are purged)
I do this with my own scripts but it would be a great feature for me as
admin to set this param
without the need of scripting myself.
EDV