this post was submitted on 27 Apr 2024
13 points (93.3% liked)

Linux

48248 readers
792 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
13
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

There is a very annoying problem with archive extraction on Linux. I always sort my files by "last modified" and want my latest files and folders on top in any file manager. When I download and extract an archive, the extracted folder is placed toward the middle or bottom of the list apparently because the original timestamps of files are retained. If I'm not mistaken I didn't have this issue on my MacBook and the extracted archives would appear on the top of the list.

Workaround: In Ark if I choose extract to subfolder and type a name for the new folder, it is treated as recently modified and is placed at the top. But I don't want to enter a name every time.

Shouldn't an extracted folder be treated as recently modified??

Any ideas?

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 6 months ago

Most archiver programs will set the modified time of a file to the modified time recorded in the archive (if present). Many archive formats support recording modification times because they were intended for backups and aim to perfectly record the original files including all data and metadata.

I also agree that this is not what I want when using GUI modification programs (in my case file-roller) but the exact options available will depend on which program you use.

[–] [email protected] -1 points 6 months ago

Change the file's timestamp.