Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [file-attributes]

The tag has no usage guidance.

0
votes
0answers
36 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 ...
1
vote
1answer
181 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
57 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
109 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
184 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
75 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
216 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
104 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
260 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?
7
votes
1answer
1k 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
29 views

Change DOS attributes of file under hgfs

Any way to directly manipulate the DOS attributes of the files mounted under Vmware hgfs mount? The original filesystem is NTFS under Win 8. I tried mattrib, however, it'll give me: Can't open /dev/...
0
votes
0answers
362 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
151 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
687 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
50 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
20 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
95 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
191 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?
7
votes
3answers
3k 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
99 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
34 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
40 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
35 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 ...
8
votes
6answers
9k 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
90 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
341 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
48 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
537 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
1answer
349 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
490 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
3k 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 ...
1
vote
1answer
5k 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
263 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
396 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
43 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
6k 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
37 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
66 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
769 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 ...
9
votes
2answers
13k views

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

Can you show/list all extended-attributes and how?
2
votes
1answer
2k 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
53 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 ...
1
vote
1answer
1k views

How to remove mac extended attributes from a file?

I have the following special attributes on my pdf file: -rw-r--r--@ 1 Barnabas staff 18227 Oct 9 11:34 myfile.pdf com.apple.metadata:kMDItemWhereFroms 331 com.apple....
1
vote
1answer
713 views

Which file attributes are stored in the directory entries and which in the inodes?

I want to do some deduplication of old files, replacing duplicates with hardlinks. To minimize loss of metadata, I want to set the directory entry attributes of each new hardlink to the attributes of ...
0
votes
1answer
504 views

How to set file timestamp to timestamp from within file, for MP4 and JPEG?

I have many pictures which I take from my windows phone. When I copy the pictures onto my hard drive, it changes all the dates "created" to the date they were "copied" over. However the date created ...
0
votes
2answers
84 views

Weird File Attributes in Excel Save Dialog

I vertically re-sized my excel Save As dialog today and found a bunch of strange file attributes that I've never seen in the dialog before. They only appear when the dialog is resized small enough ...
4
votes
3answers
19k views

Remove attributes to sub folders and files

i hide my folders and files through hidden attributes of command prompt,i am struggling to unhidden all sub folders and files, how i hide the files in command prompt attrib +s +h "foldername" ...
0
votes
1answer
215 views

All Images on HD marked as Hidden

Just got a real scare, all my image files spread across several hard disks suddenly disappeared. Fortunately, I discovered that they had all somehow been set to hidden. I don't really want to leave ...
3
votes
1answer
2k views

Copying folders with cygwin

The folder produced by cp -r myfolder myfolder2 is marked shared as reported by "It is shared with other people. Are you sure that you want to delete it?" dialog in windows when I try to delete the ...
0
votes
1answer
2k views

macos extended attributes xattr -d not removing extended attributes

For a simple local file owned by myself the following is having no effect: 1:37:51/spark-training-scripts:113 $ll /shared/sparkeast.pem -rw-r--r--@ 1 steve staff 1692 Mar 7 11:30 /shared/...