Why such a long blog post on a single utility? Just feast your eyes on the tables below. You have a lot of options to copy or move files with robocopy! You will more options in the individual sections.
These tables were built from the help syntax returned from robocopy /?. They’ve been broken up into more meaningful sections, added to over time and cleaned up to provide more useful info.
Source Options
Switch
Explanation
Default Behavior
Equivalent Switch
Notes
/S
Copy subfolders
/E
Copy subfolders including empty subfolders
/COPY:[DATSOU]
Copy options
/COPY:DAT
D=Data, A=Attributes, T=Timestamps S=Security=NTFS ACLs, O=Owner info, U=aUditing info. File Data (D) always includes file Timestamps (T)
/SEC
Copy files with SECurity
/COPY:DATS
/DCOPY:T
Copy directory timestamps
/COPYALL
Copy ALL file info
/COPY:DATSOU
This will prevent dehydrating offline files and will instead copy the file’s tag (on emc VNX/Unity systems at least). This is not officially documented! If dehydration is what you need (reason i found this issue), you can’t copy the ACLs along your files. CREDIT: Monsieurx (Reddit)
/NOCOPY
Copy NO file info
useful with /PURGE
/A
Copy only files with the Archive attribute set
/M
like /A, but remove Archive attribute from source files
/LEV:n
Only copy the top n LEVels of the source tree
/MAXAGE:n
MAXimum file AGE – exclude files older than n days/date
/MINAGE:n
MINimum file AGE – exclude files newer than n days/date
If n < 1900 then n = no of days, else n = YYYYMMDD date
/FFT
Assume FAT File Times
2-second date/time granularity. This replaces NTFS timestamps. Seems to be more reliable when transferring over a network.
/256
Turn off very long path (> 256 characters) support
Destination Options
Switch
Explanation
Default Behavior
Equivalent Switch
Notes
/A+:[RASHCNET]
Set file attribute(s) on destination files + add
/A-:[RASHCNET]
Remove file attribute(s) on destination files
/FAT
Create destination files using 8.3 FAT file names only
/CREATE
Create directory tree structure + zero-length files only
/DST
Compensate for one-hour DST time differences
Copy Options
Switch
Explanation
Default Behavior
Equivalent Switch
Notes
/L
List files only
Don’t copy, timestamp or delete any files
/MOV
Move files
Delete from source after copying
/MOVE
Move files and directories
Delete from source after copying
/sl
Copy file symbolic links instead of the target
/Z
Copy files in restartable mode
Survive a network glitch
/B
Copy files in backup mode
/J
Copy using unbuffered I/O
Recommended for large files
/NOOFFLOAD
Copy files without using the Windows copy offload mechanism
The Mozilla Enterprise Policies for Firefox (and Thunderbird)
This feature is meant to help enterprise admins, who deploy Firefox as software package to computers in their organization.
Versions
Policies were first added in Firefox 60, and back then were purely optional.
In Firefox 68 some settings from autoconfig stopped working (for example the option to disable automatic updates), thus it became necessary to at least partially switch to policies.
Thunderbird started to implement policies in version 68, and at the same time also stopped respecting some of the autoconfig options.
Overview
The Enterprise Policy feature provides two new ways to configure Firefox (besides the old autoconfig aka mozilla.cfg):
Windows Group Policy Objects (GPO)
A config file named policies.json
Interactions:
If any policies are set with GPO, the json file is ignored.
If autoconfig (old) and policies (new) provide conflicting settings, policies win.
Requirements:
Firefox version 60 or later.
Thunderbird version 68 or later.
In Windows some policies work only if you have either Firefox ESR or domain-joined PCs.
(It is currently unclear how Firefox detects the domain membership, and whether it must be an Active Directory domain)
Copy firefox.adml to C:\Windows\PolicyDefinitions\en-US
Run <class=”tt”>gpedit.msc or <class=”tt”>RSAT (Remote Server Administration Tools), and open Computer Configuration, Administrative Templates, Firefox.</class=”tt”></class=”tt”>
Thunderbird
Some of the Firefox policies also work in Thunderbird.
There are official (but non-functioning) admx-templates on https://github.com/thundernest/policy-templates. They are just a clone of the templates for Firefox, and thus do not have an effect on Thunderbird.
Run <class=”tt”>gpedit.msc or <class=”tt”>RSAT (Remote Server Administration Tools), and open Computer Configuration, Administrative Templates, Thunderbird.</class=”tt”></class=”tt”>
You can also copy registry keys from Firefox and rename them. For example this one works:
Howto use create the json file (alternative for GPO)
The currently supported policies are listed here. New policies are added with every version, and so far all new policies are available both in the latest RR (Rapid Release), and in the latest ESR (Extended Service Release).
Multiple policies must be separated with commas. Multiple options to one policy must be placed in curly brackets, and separated with commas.
The json file must be placed in a subdirectory named distribution in the program directory. In Windows the path will be something like C:\Program Files\Mozilla Firefox\distribution\policies.json
This directory does usually not yet exist, you must create it.
Errors in the file are reported on the page “about:policies”, but this feature needs at least Firefox version 63. This is the typical way how Mozilla develops new feature: publish it long before its ready.
It seems that Github is now the official place for documentation. But even there a lot of info is missing. For example that this is supposed to replace autoconfig. And that in Windows several of these options only work if either the ESR version is used, or the PCs are members of a Windows Domain. Also how do the two methods relate to each other and to autoconfig: which one does take precedence?
Lets hope that eventually Mozilla will write some decent documentation for this new feature.
No, I’m not gonna read the source to extract infos from there.
This is a collection of procmail recipes which I use to pre-filter the incoming mail before letting SpamBayes take a crack at it. This combination seems to provide a fairly decent level of protection. Naturally, your mileage may vary.
procmail is a mail processor installed on most Linux systems and used to by the mail server to deliver mail to your mailbox. If your mail server is hosted on linux you may use procmail to remove spam and sort messages before they are placed into your mailbox. If, like me, you prefer to use pine in a shell window to check your e-mail, this type of filtering may be your only defense against spam.
In order to understand these recipes, at least some knowledge of procmail and regular expressions syntax is required. The basics can be learned from procmail man pages and from links on procmail home page. Here is a great procmail documentation project and a library of recipes