[ overboard / sfw / alt / cytube] [ leftypol / b / WRK / hobby / tech / edu / ga / ent / music / 777 / posad / i / a / R9K / dead ] [ meta ]

/tech/ - Technology

"Technology reveals the active relation of man to nature"
Name
Email
Subject
Comment
Captcha
Tor Only

Flag
File
Embed
Password (For file deletion.)

Matrix   IRC Chat   Mumble   Telegram   Discord


File: 1695387333841-0.png ( 277.72 KB , 2000x1800 , 1690257943582-2.png )

 No.12467

i hang around the end page of boards here to do some archiving. My problem is that i have this insanity-adhd (idk what it is) thing that makes it so that it's impossible to archive thing since everytime i open my own file i always worry (and believe) that i deleted something from said file or edit said file or mess it. is there any software that could help ? a software or something that could prevent me from deleting or messing or editing the file ?

(crossposting from org)
>>

 No.12468

>>12467
Windows has acl-esque write protection in the file settings or for whole folders.
Otherwise you can create 7z or tar.*z archives from your files and directories. They have builtin checksums and recovery options exist.
>>

 No.12469

>>12467
If you want to make a file immutable on linux you can use the following terminal commands:

sudo chattr +i filename


If you want to undo the file immutability, type:

sudo chattr -i filename




If you want to make an entire Directory with all its contents immutable, type:

sudo chattr -R +i path/to/directory


and to undoo, type:

sudo chattr -R -i path/to/directory



chattr works directly on the file-system level , which means it's more robust than the usual user-privilege and file-permissions stuff.

if you want to check the immutability status you can type

lsattr filename


it'll give you an output with lots of dashes if it's got a -i- within the dashes that means the immutability is set.

there's lots of tutorials with more information and functionality like this one
https://www.xmodulo.com/make-file-immutable-linux.html
if you care to know more
>>

 No.12480

>>12467
>My problem is that i have this insanity-adhd (idk what it is) thing
A leftist with braindamage? Imagine that.

>everytime i open my own file i always worry (and believe) that i deleted something from said file or edit said file or mess it.

Software engineers use something called version control which tracks exactly what changed in a file and at what time the change happened (and who changed it if you are working with multiple people). If you're using some kind of office software that it might have version control functionality built in.
https://libreofficetutorials.com/libreoffice-writer/track-document-changes-with-libreoffices-version-control/

You could also do something simpler like create a new file for each change
2023-09-24_loserchan.net.txt
2023-09-25_loserchan.net.txt
2023-09-26_loserchan.net.txt
That takes a little more discipline though.
>>

 No.12489

OP you need to start using linux my friend if you aren't already.
>>

 No.12499

>>12489
This, install gentoo MX Linux, or AntiX (if you love a shitty UI).

>>12469
>sudo chattr +i filename
Alternatively, regularly sudo move and chown your files to a different user account.
You can automate this with a suid root script to avoid fucking up with typos.

Also consider reducing the consumption of whatever drug you're overdoing and meet some people IRL before schizophrenia gets you into serious trouble.
>>

 No.12610

im learning to use linux
>>

 No.12611

when can i use Arc ?
>>

 No.12612

>>12611
>when can i use Arc ?
If you are talking intel arc graphics, that should work out of the box without a fuss on any linux with a kernel 6.2 or newer
To find out your kernel version, open a terminal and enter the command:
uname -r


For example on Ubuntu that would be the two latest releases
23.10 Mantic Minotaur 6.5
23.04 Lunar Lobster 6.2

Unique IPs: 6

[Return][Catalog][Top][Home][Post a Reply]
Delete Post [ ]
[ overboard / sfw / alt / cytube] [ leftypol / b / WRK / hobby / tech / edu / ga / ent / music / 777 / posad / i / a / R9K / dead ] [ meta ]
ReturnCatalogTopBottomHome