We are potentially looking for a solution of how we can identify different versions of a text file on Windows Operating Systems - there are no file attributes that support versioning (e.g. 2.0, 2.1 etc.), but using ADS would allow us to write, for example, version information to an alternative stream within the file. My question, is this a suitable use of ADS, or are there drawbacks or reasons we should not do this? I have been using the information at this link to play around with ADS - https://blog.codefluententities.com/2013/03/14/manipulating-ntfs-alternate-data-streams-in-c-with-the-codefluent-runtime-client/
NTFS alternate data stream usage
460 Views Asked by stuartjsmith At
1
There are 1 best solutions below
Related Questions in NTFS
- mount: unknown filesystem type '0'
- What happens at a low level when I call fseek()?
- Compiling NTFS-3G for OS X
- Set file compression attribute
- Revert "find . -exec rm -rf {} \;" in NTFS
- Remove NTFS permissions of a user in all subdirectories
- Is there any way to know that FileSystemInfo.Refresh failed?
- How to read metafiles of NTFS file system using C
- how to interpret FILENAME attribute of NTFS MFT?
- Handle USN journal size full case
- Powershell not capturing exception in try/catch?
- Subversion (svn) repository on NTFS partition in Linux?
- Backing up files without having to alter the file's security
- SetFileShortName does not reset short (8.3) name of a file
- How do I best set up a directory of test files in memory instead of disk, in .NET, for testing a file IO class?
Related Questions in ALTERNATE-DATA-STREAM
- How to list NTFS's Alternate Data Stream Files using Java
- Find Alternate Data Stream (ADS) files name by using python
- Remove alternative data stream using powershell
- Script in power shell to add checksum as alternate data stream fails with some file names but otherwise works
- How do you copy a file into an NTFS alternate data stream in Powershell?
- Does APFS actually support Named Forks or just Resource Forks and Extended Attributes?
- Samba(v 4.10.16) win10 can't open the files(like .xlsx .pptx) that has set extended attribute by setxattr() in centos7
- Why is $DATA empty when downloading a file via UWP
- What are the contents of the :ms-properties alternate data stream?
- How to access and modify alternate data streams (ADS) with go
- Powershell - List all alternate data stream information from one directory
- Run GUI powershell script by right clicking on a file
- NTFS Change Journal - File Change Tracking
- Accessing hidden data streams
- Block a file with Powershell
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
File versions for me are rather metadata than another data stream, so I'd use extended file attributes in this case. Alternate data stream is perfectly suitable for e.g. file preview.
That said, extended attributes have similar drawbacks as ADS (usually lost during the backup or archiving), but unlike ADS, they are supported by FAT32 devices.