Questions tagged [file-attributes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
219 views

In Windows, how do I list the extended attributes — or metadata — for an MP3 file?

I have multiple folders with MP3 files. Some files are duplicates but in separate folders. I want to create printable list of extended attributes — or metadata — to retain the file with the highest ...
1
vote
0answers
89 views

Renaming a file in Explorer Win10 does not change modified date

This is something that never occurred to me but I noticed that when I rename a file its modified attribute will remains unchanged. This happens on multiple devices I tested it on (Win10, NTFS) and for ...
0
votes
1answer
24 views

Bulk edit SFX script

I create custom portable versions of apps using WinRAR's SFX module (among other things, the setup option Run after extraction). In the cases where 32-bit / x86 and 64-bit / x64 versions are available,...
1
vote
0answers
61 views

Retain xattrs in files (macOS files on Linux SMB server)

I run an SMB4 server on Ubuntu Server 19.04 using ZFS as the server file system (separate from the boot drive). I use this server to store files from my Macs (10.7, 10.8, 10.11, 10.12, 10.13, 10.14). ...
0
votes
0answers
35 views

Folder's “system” attribute disappears after copying to USB drive

I have a "Desktop.ini" file in a specific folder. I define the folder as a system folder using cmd : attrib +s folder and everything works well. But when I copy the folder to a USB drive, my folder ...
2
votes
1answer
58 views

How to list only files with a specific extended attribute in macOS?

I have a directory with about 10,000 files and I'm using ls to list the files. However, I want to list only the files that have the com.example.mycolor extended attribute set. What I tried: ls -l@ |...
7
votes
1answer
450 views

What are “project IDs” in linux, as mentioned in the chattr manual?

I was reading through the manual for chattr on my Linux machine (kali4-amd64) when I saw this in the list of definitions of file attributes: A directory with the 'P' attribute set will enforce a ...
1
vote
0answers
313 views

Fix Deleting the files but not it's extended attribute

I am trying to deleted empty folder but with not luck after some searching i seem to me that i have deleted the files in those folder but not it's extended attribute amr@MacBook ~/folders> ls -la ...
0
votes
0answers
705 views

how to change files into folders (Windows 10)

I was using autoit to rename folders, and I used FileMove instead of DirMove. It did move all the data from the folder, but wrote the destination folder as a FILE - Without the D attribute - so ...
2
votes
2answers
119 views

Exclude system entries with “ls” or “find”

Compare Cygwin: $ ls -1 -N /cygdrive/c $Recycle.Bin cygwin64 Documents and Settings pagefile.sys PerfLogs Program Files Program Files (x86) ProgramData Recovery System Volume Information Users ...
2
votes
1answer
1k views

How do I delete ~/Library/Mail with a com.apple.quarantine extended attribute?

I'm running macOS Mojave 10.14. Mail.app and our Exchange server periodically quit talking to one another. The primary symptom of this is that the Inbox shows nothing even though webmail and my ...
1
vote
1answer
217 views

batch change date of all files in dir based on name order [closed]

I have a lot of images sorted according to their filenames: img1.jpg, img2.jpg ... I need to change the file date which is now the same on all images so that img1.jpg date is before img2.jpg etc I ...
2
votes
0answers
220 views

What are the most reliable attributes for comparing two files in order to confirm/verify they are 100% identical?

I had the following situation: I copied 5.5 TB worth of data (in total over 100,000 directories and 10 million files) from an old disk to a newly-purchased external disk. I used Ultracopier on ...
3
votes
2answers
609 views

How do I see and set the NTFS compression attribute in Linux?

Browsing an NTFS partition in Konqueror or Dolphin, the compressed files and folders are not displayed with blue names, and there doesn't seem to be any page in the file properties dialog to see or ...
0
votes
3answers
394 views

What does “read only” and “non executable” means for Folders?

Talking about authorizations, I know what "read only" and "non executable" would mean for a file. But what do those two mean for a folder? And how can I change those access authorizations? Somehow ...
1
vote
1answer
1k views

How to clear (remove) macos extended attributes recursively from a directory?

I downloaded and extracted an archive from GitHub (Homebrew/brew) into a temporary directory under /root (with help from sudo). If I do ls -l I see an extended attribute: total 0 drwxr-xr-x@ 16 root ...
1
vote
0answers
194 views

Copy file attributes with ffmpeg

I'm using the following command to remux audio with ffmpeg (i.e. to copy audio stream to another video file): ffmpeg -i ../../data/1.mp4 -i out.avi -c copy -map 0:0 -map 1:0 -shortest out.mp4 Is ...
2
votes
1answer
406 views

Windows batch command to assign specific time/date stamp to files

I know how to assign the current time and date to a file using copy /b filename.ext +,, but how can I assign it a different time and date, as in this variable: set DateTime=01/01/1970 03:00 AM?
10
votes
1answer
3k views

Chrome crashpad crashes on xattr

I have a macos High Sierra 10.13.3. When running Chrome in headless mode to execute automated tests, I get this error: [0207/114344.742771:ERROR:xattr.cc(64)] setxattr org.chromium.crashpad.database....
0
votes
0answers
927 views

Why doesn't “xattr -w com.apple.FinderInfo /opt” work?

I'm trying to add the com.apple.FinderInfo extended attribute to my /opt directory so that it will show up as an installable folder for installing packages on MacOS 10.13.2 High Sierra. I tried ...
1
vote
1answer
227 views

Windows encrypt folder: Some files not encrypted

I did following two things to encrypt all the content of a root folder named "Foo": The "Foo" folder has many levels of sub-directories with each having multiple files. All of the files in Foo were ...
-1
votes
1answer
1k views

Windows 10 showing “attrib +h” files

I recently bought a new tower that has the Windows 10 OS on it. I am facing one issue with it right now. Back in Windows 7 I was able to hide files and folders completely thanks to the CMD function ...
0
votes
1answer
52 views

OS X Sierra, “Pictures” folder hijacked by an application - how to fix?

A crummy application (MacFamilyTree) somehow hijacked my system's "Pictures" folder. It thinks it's an application now, and has acquired an 'Open with:' panel in the GetInfo window. There's no way to ...
1
vote
0answers
32 views

Earliest possible date for a folder / file attribute? [duplicate]

Just for some context, so people understand why I'm doing what I'm doing... My movie collection is stored in this fashion; Movies (folder) |---- Movie title, Year released (folder) |---- ...
0
votes
0answers
126 views

What just happened to my Windows PC? icons don't show; all folders are read-only

Since yesterday my PC has been behaving oddly. The basic symptoms are: Scripts that worked earlier in the day now fail with file/folder permission errors. More specifically, this error in NodeJS (...
1
vote
1answer
319 views

What does the `I` mean in `attrib` output?

The following image is a screenshot after I typed attrib in C: What does the I mean?
9
votes
3answers
5k views

What do new Windows 8/10 attributes mean: No scrub file (X), Integrity (V), Pinned (P), Unpinned (U)

I just opened help for ATTRIB command on Windows 10.0.15063, and found out that there are new attributes I didn't know about. >attrib /? Displays or changes file attributes. ATTRIB [+R | -R] [+A |...
0
votes
1answer
157 views

Run attrib on a folder in Linux

I have a strange question: if I install wine on Linux will I be able to do a shell exec in php to add the proper attributes to a folder so when it is transferred to Windows it is hidden? For example: ...
1
vote
2answers
38 views

How to create a file that has the properties of another and links to it when opened?

I wonder if anyone knows if it is possible in Windows 7 to create a file (let's call it a source file) that represents another file, has it's properties (including size), but when opened actually ...
1
vote
0answers
49 views

How determine when last time USB hard/flash drive was read/written to?

I am trying to determine when a file was last written to a USB hard/flash drive. An image was restored to a USB hard drive using this USB image tool. The modification/creation dates are old since the ...
0
votes
1answer
37 views

Hiding Files in windows 8.1

I am trying to hide a whole directory, say, I have a folder named x with files y, z and folders 1 and 2 that contain, respectively, files 3 and 4... When I try to hide the whole X directory, but some ...
9
votes
6answers
15k views

Can a file appear to be modified before it was created? [duplicate]

Is it possible to have a file which has a modified date that is before its created date? What actions would cause this event to occur?
0
votes
1answer
123 views

Regarding files resulted in equating file properties in “ls” command

I have a folder in which there are thousands of images. Of those thousand images, I want to bring together all those images whose “Last created” and “Last modified” properties are exactly same. ( In ...
0
votes
1answer
496 views

Which namespaces of xattrs a non root user can set in android?

I know it isn’t possible to setsecurity.capabilitiesattributes without uid 0 or CAP_SETFCAP. However I was unable to find a complete list of what namespaces of names are allowed or what are those ...
0
votes
0answers
60 views

Do file attributes in CDs and DVDs change if you access them?

I have snooped over my boyfriend's old CDs and DVDs. I opened and copied (with copy paste) some of the files (jpeg and videos). Does this action change the file attributes (date accessed, etc.) of the ...
1
vote
1answer
699 views

Adjust creation date/time of files already copied?

I recently replaced my laptop's hard-disk with a bigger capacity SSD. Windows was re-installed from scratch and then I copied my data to the SSD by putting the old hard-disk in an external USB ...
0
votes
2answers
514 views

How to remove sparsefile attribute

Answers to how to remove the sparsefile file attribute appear to revolve around: fsutil sparse setflag <filename> 0|1 This does not work for me. I am on Windows 7 Pro 32-bit NTFS, as an ...
2
votes
2answers
979 views

How can I stop files hidden using `attrib +h +s somedir` from showing in searches?

I use Windows 10 and I've hidden a folder using attrib +h +s C:\MyUser\HiddenDir\ which contains some files like MySecretDocument.docx. I have Folder Options set to Show hidden files & folders so ...
4
votes
1answer
5k views

How can I modify executable metadata through the command line?

How can I modify these fields on an executable? I've found a few questions here on how to get these fields but none on how to set them. In addition, I need to be able to do this through a batch file ...
2
votes
1answer
7k views

Windows 7 - What is “Date Created” file property referring to?

I usually find it more appropriate to use "Date Created" rather than "Date Modified" for sorting files chronologically for searching/browsing in big shared drives within my organization. Recently I've ...
1
vote
0answers
309 views

How to preserve the Extended File Attributes in linux?

I'm working on a project where i rely mostly on the file's extended attribute that i set when i create the file. But i'm facing problem while modifying the file. Solid Example: When i edit the file ...
0
votes
1answer
463 views

Changing File Attribute

I have two files in my documents currently with the A attribute, but I need them to be -rw-r--r--. Trying to modify them in command line like I would normally just gives me an invalid switch error (...
1
vote
2answers
45 views

Is there any way to verify the age of a file

Is there anyway of verifying the genuine age (date created) of a file. I know that when you copy and paste from one system to another the date can change, and dates change when files are attached as ...
13
votes
3answers
8k views

How can I compare the versions of two executables from the command line?

I have two executables (file1.exe and file2.exe). Both are the "same" file, but one is a newer version from the vendor than the other. When I open up the properties for one of them, I get the ...
1
vote
0answers
41 views

ack.pl tool and ack.pl flags + how to ignore files with S attr

I am using the ack.pl tool in order to search string or IP’s in files The official site of ack.pl is - http://beyondgrep.com/documentation/ Example of ack.pl CLI ( want to find the string ...
0
votes
1answer
70 views

How to confirm the file attributes of a document [duplicate]

Is there a way of confirming that the file attributes of a document are correct/genuine. For example, the date created, modified etc.
1
vote
1answer
964 views

Modify file date-time attributes

I want to modify the date-time file attributes "Created", "Modified" and "Accessed". The file is located in NTFS filesystem on Windows 7. I have found several freeware utilities that promise to do ...
14
votes
3answers
24k views

Can you show/list all extended-attributes and how?

Can you show/list all extended-attributes and how?
2
votes
1answer
3k views

Make hidden folders invisible sftp

My client needed sftp server for sharing files, so I created sftp server on a amazon ec2 ubuntu machine and added different users. Now their need is when user login to sftp server either via winscp ...
0
votes
1answer
70 views

Prevent a file/folder being invisible [duplicate]

Is there a way to prevent a file or folder being set invisible ? I am working on an infected machine (which I cannot disinfect) that constantly makes the files and folders in my usb stick invisible. I ...