FolderSync :The various features and how to use them

Help - Tacit Dynamics

Help

This page describes the various features of FolderSync and how to use them. If you have problems, try consulting the FAQ or try posting in the forum. Thank you.

 

General info

Foldersync uses the ActionBar and Navigation drawer pattern. For general info about these user interface patterns see these links:

http://developer.android.com/design/patterns/actionbar.html

http://www.androidpatterns.com/uap_pattern/action-bar

http://developer.android.com/design/patterns/navigation-drawer.html

 

Note: Below help text is valid for versions prior to 2.5.0. It is still helpful to you when configuring FolderSync, but is not 100% accurate. 

 

FolderSync contains 5 main sections. Home (dashboard), File Manager, Sync Status, Accounts and Folderpairs screens. To change between them press the dropdown control in the top actionbar to the right of the FolderSync icon, as seen below on the middle screenshot.

 

         

 

The three-dot icon to the right is an "overflow" menu that opens up additional options as seen on the image to the right. There you can access settings, help and about screen from all main sections of the application. 

 

Note: On older Android devices it may be necessary to use the menu button to access this menu.

 

Tip: To know what an icon does, long-press it and a help text will appear - no action will be taken when you do so.

 

Pr. default, FolderSync starts up in the dashboard mode. This can be changed on the settings screen.

 

Video tutorial

This video demonstrates how to use some of the features of FolderSync.

Among other stuff, it shows how to create a Dropbox account and configure a folderpair for syncing. 

 

 

Create an account

The first thing to do in FolderSync is create an account to use for syncing with cloud storage. You will be required to provide your login credentials, either directly in FolderSync or on the provider webpage for those using OAuth authentication. If you do not already have an account you can create one for free at the applicable vendor website, if you want to use SkyDrive, Dropbox, SugarSync, Google Drive, Ubuntu One, Box or Amazon S3 cloud storage.

 

Select the [Account] option in the dropdown menu at the top. Then you will be presented with the Account window.

 

        

 

Then you want to press the add account icon represented as a cloud with a plus icon. That will bring up menu, seen in the middle screenshot above, where you are asked to select provider type. In the example below, we have chosen to add a Google Drive account. 

 

To activate the account, press [Validate access]. Then a webpage asking for your login credentials to your Google account will open - FolderSync will not know your password, as the Google webpage will generate an OAuth token it returns to FolderSync, when you have signed in. On the screenshot on the right we have successfully signed in, and we can see quota and usage of our Google Drive.

 

        

 

Depending on the account type, this process may be different. Some cloud providers does not support OAuth authentication. For those provider types where FolderSync need to store credentials, they are stored in encrypted form.


If you want to use Samba/Windows shares, FTP, SFTP or WebDAV, you have to set it up on a server or your home PC, or have access to an existing account. Explaining how setup this is not in the scope of this help text, but try using Google.

When not using OAuth, FolderSync provides an option to test your entered account settings using the [Validate login] button, to see if it can connect to the selected provider with the server address and credentials you have entered.

 

When entering a server address, never enter protocol type and never enter folders. Just enter a server address or IP address, eg. "www.server.com" or "11.22.11.43". If you need to define a start folder for your server, enter it in the start folder field.

Create a folderpair
A FolderPair is a definition of a sync that you want this application to perform. A folderpair defines a sync between a local folder on your device and a remote folder for your chosen provider type. A sync can sync files to remote cloud storage, to your local storage or both ways. Select [Folderpairs] from the top drowdown menu.

 

        

 

Then press the plus icon to create a new folderpair. 

 

The first thing you do, after selecting a name for your folderpair, is select an account to use. If you have not already configured an account, do this before setting up a folderpair or use the built-in SD Card account if you want to sync locally on your device between two folders. When an account has been selected, and it is properly configured, you will be able to browse the remote file system for your cloud provider, when clicking the remote folder input field, and chose the folder to be used when syncing. Similarly you can choose which local folder to use. See the third screenshot above for an example of the folder selection dialog.

 

Additionally you define various parameters for each sync: which network connection it should be allowed to use, allowed/disallowed SSID‘s, if sub folders or hidden files are to be synced and if you want a scheduled sync to run automatically or at certain times. 

 

Explanation of folderpair configuration options:

  • General
    • Name: Unique name of your choice.
    • Account: The account to sync to or from (must be configured first on account page).
    • Remote folder: The remote folder to sync to or from. Can be selected after an account has been chosen.
    • Local folder: The local folder on the device to sync to or from.
    • Sync type: The type of sync - one-way to local or remote or two-way sync. Default: To local folder.

  • Scheduling
    • Use scheduled sync: Check this if you want to sync on a schedule (and not solely by manual start or Tasker).
    • Sync interval: Choose how often you want to sync.
    • Sync days: If sync interval is set to advanced, then this option is shown. Choose which days to sync.
    • Sync times: If sync interval is set to advanced, then this option is shown. Choose which time of day to sync.

  • Sync options
    • Instant sync: Select this for instant sync on change. Only detects changes on local device. Use with care!
    • Copy files to time-stamped folder: For one-way sync only. If enabled , this creates a time-stamped folder at target location, so all source files are synced every time into a new folder at target location.
    • Exclude from force sync: Check this if this sync should be excluded from sync all action on sync status screen.
    • Sync sub-folders: Check this if sub-folders are to be synced. Enabled by default.
    • Sync hidden files: Check this if hidden files are to be synced. Enabled by default.
    • Delete source files after sync: For one-way sync only. After syncing of files, the source files are deleted. Use with care! Disabled by default.
    • Sync deletions: Check this if deletions are to be mirrored. Use with care! Disabled by default. 
    • Overwrite old files: Choose what to do if a file already exist at target. Default setting is to overwrite the old file, so the newest file is used.
    • If conflicting modifications: Choose what to do if a conflicting modification is detected. A conflicting modification is one where both the source and target file has been changed since last recorded sync. Default is to skip file, which will result in sync warnings. 

  • Connection
    • Use WiFi: Check this setting, if this Folderpair is allowed to sync on WiFi.
    • Turn on WiFi for scheduled syncs: Check this if WiFi can be turned on for this sync.
    • Allowed WiFi SSID‘s: Enter a list of allowed WiFi SSID‘s to sync on. If empty, all WiFi networks are allowed.
    • Disallowed Wifi SSID‘s: Enter a list of disallowed WiFi SSID‘s. 
    • Use Edge/3G/4G:  Check this setting, if this FolderPair is allowed to sync on mobile networks.
    • Use other connections: Enable this if other connection types should be allowed (Bluetooth, USB, etc.).
    • Sync when roaming: Enable this to allow sync while roaming on mobile networks (use with care).

  • Notifications
    • Show notification when syncing: Show persistent notification while syncing folderpair.
    • Show notification on sync success:  Show dismiss-able notification on sync success .
    • Show notification when changes occur: Show dismiss-able notification if transfers/deletions happened.
    • Show notification on sync error:  Show dismiss-able notification if syncs fail for any reason.

  • Advanced
    • Only sync if charging: Check this setting if FolderPair should only sync when charging.
    • Rescan media library: Check this if media library should be updated for deleted or added media files.
    • Use MD5 checksums: Check this setting if MD5 checksum should be calculated for files. May decrease sync speed and use extra battery, but can also result in less download and upload traffic. Enabled by default.
    • Use temp-file scheme: Check this setting, if you want to use temp-file scheme. Temp-file scheme means files are transferred using temporary name, and upon completion of transfer is renamed to the final filename. This may break the functionality of some cloud providers (proper revisions etc.). Enabled by default.
    • Disable file-size check: Check this if transferred files should not be validated against source by comparing file-size. Some providers adds bytes to certain files when uploaded, so this setting can help in those cases. 

Sync filters

In the full version you have the ability to create sync filters, where your can include or exclude files and folders based on file type, name, size, file age and modification date. Regular expression filtering is also supported (experts only). Sync filters are specific to the folderpair for which you configure them.

 

All filters are case-sensitive. 

 

For file type filters you should enter the file type of the file, for example "jpg" or "doc". Don‘t include leading period.

 

All folders will be matched against folder filters - that means if you want to exclude or include a specific folder with name matching "xyz" then all folders in the tree under the root folder configured for the folderpair will be filtered, if it has the name "xyz". 

 

To exclude or include only a specific "xyz" folder you have to include a forward slash ("/") in the name you specify. Then you can exclude a folder and all its sub folders with a folder filter of type "startswith" with value  "/mnt/sdcard/rootfolder/xyz". When using full path in a filter please only use the "startswith" type filter.

Syncing
Syncing occurs according to the schedule you have defined for each folderpair. If a schedule is not defined the folderpair will only be synced if you manually initiate it. If no network connection is set to be allowed for a folderpair it will never sync, not even if you manually initiate it. This is to ensure you are not accidentally charged for expensive network traffic. Files are compared using their last modification date and optionally using MD5 hashes (for local files).


Two-way sync
Two-way sync copies files in both directions, overwriting older files if duplicate files are found. It will also detect cases where modifications have happened on both local and cloud storage. If this happens, the latest modified file will be used or the file will be skipped, according to what you specify in for the folderpair.

 

Instant sync

This feature is experimental and can be enabled for a folderpair. When enabled, local file changes will be detected in the device folder, and a immediate partial sync will be attempted. It is recommended that a scheduled sync is still configured, as some change events are not detected properly - fx. on some custom ROMs etc.

Mirroring of deletions
If the "Do not sync deletions" option is not enabled, deletions will also be synced, for all types of sync. FolderSync has an internal database of synced files. If a previously synced filed is deleted at either end, the deletion will also happen at the opposite end (if the file at the opposite end has not changed since last sync). Use this option only if you are sure what you are doing, and at your own risk!


Sync status

The sync status windows provides you with the opportunity to see whats going on when syncing, and to view a history of past syncs that have occurred. It also informs you when the next sync check will run.

 

    

 

Successful syncs will have a green icon, either containing a check mark or plus character. The latter is present when a sync has transferred actual files. A yellow icon indicates a sync has errors. 

 

If you click on an item in the sync history, you will be able to see a detailed log of events for the sync.

File manager
The file manager allows you to copy/move files to and from your accounts from the local sdcard, as well as move/copy files in a remote storage space. You can also rename files and folders and create new folders. Copying from one remote account to another is not supported, as this is not possible without using the local sdcard as a temporary storage space.

Moving files locally on a cloud provider is not supported by all providers either.

 

To select a file or folder in the file manager long press it, or press the checkbox. If you normal press a file it will be opened or, if its a remote file, a dialog will open asking if you want to download an open the file. The opening will only succeed if you still have the file manager open when the download has finished. else the file will be available in the temp folder.

 

When you press the overflow menu in the file manager you are provides with extra options,. in addition to the three standard menu options. These are:

  • Toogle view of hidden files
  • Sort (with options to sort files on different criteria)
  • Refresh (refreshes the files and folder view)
  • Manage transfers (opens a window with transfers)
  • Manage favorites

 

When you have selected one or more folders you are presented with these options:

  • Delete
  • Copy
  • Cut
  • Rename (single selection only)
  • Details
    (single selection only)
  • Add favorite (single selection only)
  • Media scan

 

When you have selected one or more files you are presented with these options:

  • Delete
  • Copy
  • Cut
  • Rename (single selection only)
  • Details (single selection only)
  • Share (single selection only)
  • Open with
    (single selection only)
  • Media scan

 

To copy files manually from the SD card to a cloud provider or the other way around, selected the files you want to transfer, press the copy (or cut) icon, then browse to the folder where you want to paste the files (using a favorite shortcut for example). Then press the paste icon, that will have appeared on the actionbar. That will start the transfer of the files to the folder that are currently designated in the location bar.

 

File manager screenshots:

 

        

 

 

Favorites screenshots:

 

        

 

Transfers screenshots:

 

    

 

Settings
The settings panel allow you to backup/restore the underlying database. The backup is saved to the default folder /mnt/sdcard/Foldersync/backup/ (or another folder which you can select). You can also disable notifications, if you do not want to be bothered with these when syncs occur. 

 

You also have the option to disable scheduled syncs completely. If you do this, no scheduled syncs will run. Only disable this, if you use manual sync only or syncs initiated from Tasker or Locale.

Tasker

The full version of FolderSync works as Tasker plugin. This means one or more folderpair syncs can be initiated when a condition or rule you configured in Tasker occurs. Configuring Tasker is out of the scope of this help text, but FolderSync is found in the the Plugin section. Note that syncs will run no matter what settings they are configured with, when initiated from Tasker, except if the allowed connection type(s) is not met.

 

Logging

FolderSync incorporates its own log collection functionality, to help the developers fix bugs that might exist.

 

 

To create a log file with useful data, enable [Collect logs] on FolderSync about screen. Redo that function/action that fails (previous errors will not be logged, so its important to recreate the error). After that, go back to the about screen and review the log. Then press [Send collected logs] to attach the log to a new e-mail. Add your description of the problem and press send. 

 

Notes
Amazon endpoint is only used in regards to creating a bucket in this application - all other operations are targeted to a specific bucket you specify, no matter with which endpoint it was created. Using Amazon S3 can incur costs on your part. 


Dropbox has a 150 MB upload limitation - files over this size will probably not succeed in uploading.

Box.net has various upload size limitations based on account type.

SkyDrive has various limitations also - please read the FAQ.

时间: 2024-10-14 04:14:45

FolderSync :The various features and how to use them的相关文章

论文笔记之:Heterogeneous Image Features Integration via Multi-Modal Semi-Supervised Learning Model

Heterogeneous Image Features Integration via Multi-Modal Semi-Supervised Learning Model ICCV 2013 本文提出了一种结合多种传统手工设计 feature 的多模态方法,在 label propagation 的基础上进行标签传递,进行半监督学习,综合利用各种 feature 的优势,自适应的对各种feature 的效果进行加权,即:对于判别性较好的 feature给予较高的权重,较差的 feature

论文笔记之: Hierarchical Convolutional Features for Visual Tracking

Hierarchical Convolutional Features for Visual Tracking  ICCV 2015 摘要:跟卢湖川的那个文章一样,本文也是利用深度学习各个 layer 之间提取出来的不同特征进行跟踪.因为各个层次提出来的 feature 具有不同的特征.并且将各个层级的特征用现有的 correlation filter 进行编码物体的外观,我们在每一个层上寻找最佳响应来定位物体. 引言:老套路的讨论了现有的跟踪问题存在的挑战以及现有方法取得的一些进展,并且引出了

转:python 的开源库

Python在科学计算领域,有两个重要的扩展模块:Numpy和Scipy.其中Numpy是一个用python实现的科学计算包.包括: 一个强大的N维数组对象Array: 比较成熟的(广播)函数库: 用于整合C/C++和Fortran代码的工具包: 实用的线性代数.傅里叶变换和随机数生成函数. SciPy是一个开源的Python算法库和数学工具包,SciPy包含的模块有最优化.线性代数.积分.插值.特殊函数.快速傅里叶变换.信号处理和图像处理.常微分方程求解和其他科学与工程中常用的计算.其功能与软

腾讯云数据库团队:MySQL5.7 JSON实现简介

作者介绍:吴双桥 腾讯云工程师 阅读原文,更多技术干货,请访问腾云阁. 本文主要介绍在MySQL 5.7.7开始引入的非结构化数据类型JSON的特性以及具体的实现方式(包括存储方式).首先介绍为什么要引入JSON的原生数据类型的支持:接着介绍MySQL给用户提供的JSON操作函数,以及JSON路径表达式语法,结合两者,用户可以在数据库级别操作JSON的任意键值和数据:之后,重点介绍JSON在服务器侧的存储结构,这也是深入理解很多其他JSON特性的根基:在最后介绍JSON作为新数据类型的比较与排序

图像检索:二维直方图+flann+KNN+欧几里得距离

第一步:批处理提取图像库的二维直方图,并存在到.xml中的featureHists中 [ 第一个参数:图像的路径 目录.txt 第二个参数:图像特征   features.xml [保存到features.xml中featureHists] ] #include<iostream> #include<fstream> #include<string> using namespace std; #include<opencv2\imgproc\imgproc.hpp

腾讯云数据库团队:MySQL5.7 JSON实现简单介绍

作者介绍:吴双桥 腾讯云project师 阅读原文.很多其它技术干货.请訪问fromSource=gwzcw.57435.57435.57435">腾云阁. 本文主要介绍在MySQL 5.7.7開始引入的非结构化数据类型JSON的特性以及详细的实现方式(包含存储方式).首先介绍为什么要引入JSON的原生数据类型的支持:接着介绍MySQL给用户提供的JSON操作函数,以及JSON路径表达式语法.结合两者,用户能够在数据库级别操作JSON的随意键值和数据:之后.重点介绍JSON在server側

【GlusterFS学习之四】:自动在volfile中生成需要的xlator

在上一篇文章中gluster xlator的设计中,讲到通过手动修改volfile来添加相应的xlator功能,但是实际上的需求是工程在建立好之后可以在创建卷的过程中自动在volfile中生成相应的xlator,本文将探讨这个问题. 一.volfile简介 本文主要讨论的是gluster的volfile,那么还是主要了解一下volfile的定义和意义,有两篇文章可以阅读: http://www.gluster.org/community/documentation/index.php/Under

caffe源码修改:抽取任意一张图片的特征

目前caffe不是很完善,输入的图片数据需要在prototxt指定路径.但是我们往往有这么一个需求:训练后得到一个模型文件,我们想拿这个模型文件来对一张图片抽取特征或者预测分类等.如果非得在prototxt指定路径,就很不方便.因此,这样的工具才是我们需要的:给一个可执行文件通过命令行来传递图片路径,然后caffe读入图片数据,进行一次正向传播. 因此我做了这么一个工具,用来抽取任意一张图片的特征. 这工具的使用方法如下: extract_one_feature.bin ./model/caff

RobHess的SIFT源码分析:imgfeatures.h和imgfeatures.c文件

SIFT源码分析系列文章的索引在这里:RobHess的SIFT源码分析:综述 imgfeatures.h中有SIFT特征点结构struct feature的定义,除此之外还有一些特征点的导入导出以及特征点绘制函数的声明. 对应的imgfeatures.c文件中是特征点的导入导出以及特征点绘制函数的实现. 特征点的类型有两种,一种是是牛津大学VGG提供的源码中的特征点格式,另一种是David.Lowe提供的源码中的特征点格式. struct feature结构可以兼容这两种特征点格式,但一般用的多