Commit graph

46 commits

Author SHA1 Message Date
Andrea Mazzoleni
5fef489a25 When renaming incomplete files, scans the full file list to take into account for fragmented files. 2013-05-31 23:34:59 +02:00
Andrea Mazzoleni
f8420e1dff Reduces memory occupation for hardlinks and empty dirs. 2013-05-30 23:50:26 +02:00
Andrea Mazzoleni
d5c1843ba6 Deletes create file if the fix process is aborted. 2013-04-28 19:01:36 +02:00
Andrea Mazzoleni
768113c670 Adds UUID to check to detect disk misplacement. 2013-03-03 22:39:46 +01:00
Andrea Mazzoleni
08cd411748 Fixes -m option. Now it really excludes present files. 2013-03-01 18:29:04 +01:00
Andrea Mazzoleni
3cd7b4ee03 Removes support to symlink to dirs in Windows. They are different than symlinks to files. 2013-02-28 21:56:02 +01:00
Andrea Mazzoleni
6da21cdbd9 Adds the -i, --import options to import deleted files for fix. 2013-02-27 21:07:16 +01:00
Andrea Mazzoleni
b7bedc8b60 Reduces memory occupation with many files. 2013-02-26 21:26:45 +01:00
Andrea Mazzoleni
1e3e88d51c Removes INV blocks. There are not unnecessary as we always keep deleted/changed ones to keep the information that the parity is invalid. 2013-02-24 19:43:53 +01:00
Andrea Mazzoleni
5c4f6dc5c4 Keeps track of the hash of deleted blocks.
This will allow an easier recovering providing manually deleted files.
2013-02-24 19:02:53 +01:00
Andrea Mazzoleni
acad6aad04 Adds the new -m, --filter-missing options to undelete files. 2013-02-24 11:33:09 +01:00
Andrea Mazzoleni
cc21721b2a Supports hardlinks in both Unix and Windows. 2013-01-27 18:06:15 +01:00
Andrea Mazzoleni
a0a213664b Saves and restores also empty directories. 2013-01-27 16:44:04 +01:00
Andrea Mazzoleni
8204dfad6a Doesn't apply file filter rules to directory.
In Windows uses the information reported by FindFirstFile instead of calling lstat().
2013-01-18 00:15:55 +01:00
Andrea Mazzoleni
a93379f672 Adds a new -d command to filter by disk name.
Renames -A to -a for consistency.
2012-10-10 23:32:09 +02:00
Andrea Mazzoleni
04c277f925 Automatically convert old content files to the new nanosecond format. 2012-07-13 20:53:57 +02:00
Andrea Mazzoleni
71c7f4dffb More precise file modification time, now using nanoseconds. 2012-07-10 23:24:31 +02:00
Andrea Mazzoleni
c692e83ae5 Prints the type of excluded files. 2012-04-11 22:03:14 +02:00
Andrea Mazzoleni
1314f12d64 Changes come comments. No functionality change. 2012-03-15 22:58:04 +01:00
Andrea Mazzoleni
2a50ec747d Adds the new autosave configuration option.
Checks the parity validity invariant after reading the content file.
2012-03-13 23:59:59 +01:00
Andrea Mazzoleni
55fae37e7f Improves recovering after an aborted sync. 2012-02-09 23:17:36 +01:00
Andrea Mazzoleni
0099c8957c Adds a new --filter-nohidden option to filter out hidden files. 2011-12-08 22:40:30 +01:00
Andrea Mazzoleni
191dcdf3d4 Adds the --find-by-name option to find files by path instead than by inode. 2011-10-09 23:41:08 +02:00
Andrea Mazzoleni
4adef9dc17 Saves the disk mapping inside the content file. 2011-10-01 19:18:32 +02:00
Andrea Mazzoleni
99515f610c Separates the disk array in a disk list and a handle mapping vector. 2011-09-23 21:48:50 +02:00
Andrea Mazzoleni
e80d0ccdcf Use the st_dev field to ensure to use different disks. 2011-09-20 22:35:15 +02:00
Andrea Mazzoleni
50078b8155 Automatically excludes content files if stored in data disks. 2011-09-18 22:43:41 +02:00
Andrea Mazzoleni
d6dcfe973e Better struc alignment for 64 bit architecture. 2011-09-03 23:54:27 +02:00
Andrea Mazzoleni
66e9c359fd Restores the modification time of files in fixing. 2011-08-31 23:33:43 +02:00
Andrea Mazzoleni
399f181a57 Initial support for symlinks. Only in *nix. 2011-08-26 14:18:38 +02:00
Andrea Mazzoleni
d7c1551b61 Removes a typo. 2011-04-28 23:37:44 +02:00
Andrea Mazzoleni
f4f5554287 Reduces memory occupation. 2011-04-28 23:09:19 +02:00
Andrea Mazzoleni
a9255683f4 Fixes a bug in check when detecting garbage data over the expected end of a file.
More extensive tests to detect the append/truncate conditions.
2011-04-28 21:38:25 +02:00
Andrea Mazzoleni
cb4a72afca Adds include logic in filtering. 2011-04-26 18:51:42 +02:00
Andrea Mazzoleni
99420cffab Allow to specify multiple content files. 2011-04-25 13:43:51 +02:00
Andrea Mazzoleni
bbd8e95a44 Removes explicit references to MD5. 2011-04-12 22:16:35 +02:00
Andrea Mazzoleni
a5aa964f8f Removes some conversion warnings. 2011-03-30 17:13:42 +02:00
Andrea Mazzoleni
a70eb4ed2b Adds filter capability in check and fix.
Fixes the context saving when only changed files are detected.
2011-03-30 00:14:43 +02:00
Andrea Mazzoleni
face268eb1 Better MD5 support with test vectors, speed test and libcrypto fast implementation. 2011-03-25 21:04:46 +01:00
Andrea Mazzoleni
0451c9e8a0 Handles correctly file deletion in sync. 2011-03-22 23:23:45 +01:00
Andrea Mazzoleni
de07510220 Uses inodes to identify files.
It allows to automatically handle file move or rename without the need to rehash the file.
2011-03-20 22:36:49 +01:00
Andrea Mazzoleni
b9b8fd0bb8 Adds filter exclusion.
Some refactoring.
2011-03-16 23:52:10 +01:00
Andrea Mazzoleni
c2d113685e More comments in the source 2011-03-12 23:36:37 +01:00
Andrea Mazzoleni
496971e9c9 Address some portability issues 2011-03-12 10:09:59 +01:00
Andrea Mazzoleni
0e67d6c925 Minor package changes 2011-03-06 22:52:50 +01:00
Andrea Mazzoleni
4bd4f9dd79 Add the fix command
Split in various files
Add --force switch
Add --start switch
2011-03-04 20:59:21 +01:00