Property (disambiguation)

Property is the ownership of land, resources, improvements or other tangible objects, or intellectual property.

Property may also refer to:

Mathematics

Philosophy and science

  • Property (philosophy), in philosophy and logic, an abstraction characterizing an object
  • Material properties, properties by which the benefits of one material versus another can be assessed
  • Chemical property, a material's properties that becomes evident during a chemical reaction
  • Physical property, any property that is measurable whose value describes a state of a physical system
  • Thermodynamic properties, in thermodynamics and materials science, intensive and extensive physical properties of substances
  • Mental property, a property of the mind studied by many sciences and parasciences

Computer science

Law and politics

Other uses

gollark: I imagine Gibson is repeatedly facedesking or something right now.
gollark: >>backups
gollark: tio!debug
gollark: Yes, thanks TIOpy?
gollark: ```python#!/usr/bin/env python3import subprocess, os, os.path, sys, argparse, datetimetimestamp = datetime.datetime.now().strftime("%Y-%m-%d_%H-%M-%S")print(timestamp)parser = argparse.ArgumentParser(description="do backups, probably")parser.add_argument("--encrypt", "-E", help="store backup in encrypted folder (please make sure it's unlocked)", action="store_true")parser.add_argument("--no-incremental", "-n", help="don't do incremental backup", action="store_true")parser.add_argument("--save_as", "-a", help="back up under different name")parser.add_argument("dir", help="directory to backup")args = parser.parse_args()incremental = not args.no_incrementalprint(args)srcdir = os.path.abspath(args.dir)outdir = os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), "encrypted/backups" if args.encrypt else "backups")safepath = (args.save_as or srcdir).lstrip("/").replace("/", "-").replace("_", "-")outpath = os.path.join(outdir, f"{safepath}_{timestamp}{'_incr' if incremental else ''}.tar.zst")snapshot = os.path.join(outdir, f"{safepath}.snapshot")snapargs = ["-g", snapshot] if incremental else []print(srcdir, outdir, outpath)tarproc = subprocess.Popen(["tar", "-c", "-v", "-C", os.path.dirname(srcdir), os.path.basename(srcdir)] + snapargs, stdout=subprocess.PIPE)zstproc = subprocess.Popen(["zstd", "-10", "-T0", "-o", outpath], stdin=tarproc.stdout)def assert_proc(x): if x.wait() != 0: print(f"warning: {x.args} failed")assert_proc(tarproc)assert_proc(zstproc)```efficiency™
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.