root@Tower:~# ^[[200~wget https://github.com/ianka/xfs_undelete/archive/refs/tags/v12.0.zip -O temp.zip ~
bash: $'\E[200~wget': command not found
root@Tower:~# wget https://github.com/ianka/xfs_undelete/archive/refs/tags/v12.0.zip -O temp.zip
--2023-08-18 15:35:20-- https://github.com/ianka/xfs_undelete/archive/refs/tags/v12.0.zip
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/ianka/xfs_undelete/zip/refs/tags/v12.0 [following]
--2023-08-18 15:35:20-- https://codeload.github.com/ianka/xfs_undelete/zip/refs/tags/v12.0
Resolving codeload.github.com (codeload.github.com)... 140.82.121.10
Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘temp.zip’
temp.zip [ <=> ] 26.44K --.-KB/s in 0.01s
2023-08-18 15:35:21 (2.26 MB/s) - ‘temp.zip’ saved [27076]
root@Tower:~# unzip temp.zip
Archive: temp.zip
4c15e5763e1c560b0b6c8dbdc5f1b06d1530d3fc
creating: xfs_undelete-12.0/
inflating: xfs_undelete-12.0/LICENSE
inflating: xfs_undelete-12.0/README.md
inflating: xfs_undelete-12.0/shell.nix
inflating: xfs_undelete-12.0/xfs_undelete
inflating: xfs_undelete-12.0/xfs_undelete.man
root@Tower:~# rm temp.zip
root@Tower:~# cd xfs_undelete-12.0/
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete --help
xfs_undelete [options] device -- options are:
-t value deleted since <>
-T value modified since <>
-r value list of file extensions and mimetypes to recover <*>
-i value list of file extensions and mimetypes to ignore <bin>
-z value list of file extensions and mimetypes to remove all trailing zeroes from <text/*>
-o value target directory for recovered files <xfs_undeleted>
-s value restart at inode number <>
-m value magic path passed to the 'file' utility <>
-l list file extensions understood
-no-remount-readonly do not remount read-only before recovery
-- Forcibly stop option processing
-help Print this message
-? Print this message
root@Tower:~/xfs_undelete-12.0# xfs_undelete -t 2023-08-16 /dev/sdc
bash: xfs_undelete: command not found
root@Tower:~/xfs_undelete-12.0# -t 2023-08-16 /dev/sdc
bash: -t: command not found
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16 /dev/sdc
This isn't an XFS filesystem or filesystem image.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16 /dev/sde
This isn't an XFS filesystem or filesystem image.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16 /dev/sdb
This isn't an XFS filesystem or filesystem image.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16/dev/sdc
Unable to parse time range. Please put it as a range of time specs Tcl's [clock scan] can understand, e.g. 2022-06-04..-2hours. A single value as -2hours is considered the same as a range -2hours..now.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16../dev/sdc
Unable to parse time range. Please put it as a range of time specs Tcl's [clock scan] can understand, e.g. 2022-06-04..-2hours. A single value as -2hours is considered the same as a range -2hours..now.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16/dev/sdc -o/mnt/external_harddisk/dev/sdi
xfs_undelete [options] device -- options are:
-t value deleted since <>
-T value modified since <>
-r value list of file extensions and mimetypes to recover <*>
-i value list of file extensions and mimetypes to ignore <bin>
-z value list of file extensions and mimetypes to remove all trailing zeroes from <text/*>
-o value target directory for recovered files <xfs_undeleted>
-s value restart at inode number <>
-m value magic path passed to the 'file' utility <>
-l list file extensions understood
-no-remount-readonly do not remount read-only before recovery
-- Forcibly stop option processing
-help Print this message
-? Print this message
root@Tower:~/xfs_undelete-12.0# -o/mnt/external_harddisk/dev/sdi
bash: -o/mnt/external_harddisk/dev/sdi: No such file or directory
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -o/mnt/external_harddisk/dev/sdi
xfs_undelete [options] device -- options are:
-t value deleted since <>
-T value modified since <>
-r value list of file extensions and mimetypes to recover <*>
-i value list of file extensions and mimetypes to ignore <bin>
-z value list of file extensions and mimetypes to remove all trailing zeroes from <text/*>
-o value target directory for recovered files <xfs_undeleted>
-s value restart at inode number <>
-m value magic path passed to the 'file' utility <>
-l list file extensions understood
-no-remount-readonly do not remount read-only before recovery
-- Forcibly stop option processing
-help Print this message
-? Print this message
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16..2023-08-18/dev/sdc -o/mnt/external_harddisk/dev/sdi
xfs_undelete [options] device -- options are:
-t value deleted since <>
-T value modified since <>
-r value list of file extensions and mimetypes to recover <*>
-i value list of file extensions and mimetypes to ignore <bin>
-z value list of file extensions and mimetypes to remove all trailing zeroes from <text/*>
-o value target directory for recovered files <xfs_undeleted>
-s value restart at inode number <>
-m value magic path passed to the 'file' utility <>
-l list file extensions understood
-no-remount-readonly do not remount read-only before recovery
-- Forcibly stop option processing
-help Print this message
-? Print this message
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16..2023-08-18/dev/sdc
Unable to parse time range. Please put it as a range of time specs Tcl's [clock scan] can understand, e.g. 2022-06-04..-2hours. A single value as -2hours is considered the same as a range -2hours..now.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16..-6hours/dev/sdc
Unable to parse time range. Please put it as a range of time specs Tcl's [clock scan] can understand, e.g. 2022-06-04..-2hours. A single value as -2hours is considered the same as a range -2hours..now.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t -96hours/dev/sdc
Unable to parse time range. Please put it as a range of time specs Tcl's [clock scan] can understand, e.g. 2022-06-04..-2hours. A single value as -2hours is considered the same as a range -2hours..now.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -o/mnt/disks/Overflow/dev/sdc
xfs_undelete [options] device -- options are:
-t value deleted since <>
-T value modified since <>
-r value list of file extensions and mimetypes to recover <*>
-i value list of file extensions and mimetypes to ignore <bin>
-z value list of file extensions and mimetypes to remove all trailing zeroes from <text/*>
-o value target directory for recovered files <xfs_undeleted>
-s value restart at inode number <>
-m value magic path passed to the 'file' utility <>
-l list file extensions understood
-no-remount-readonly do not remount read-only before recovery
-- Forcibly stop option processing
-help Print this message
-? Print this message
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t -96hours../dev/sdc
Unable to parse time range. Please put it as a range of time specs Tcl's [clock scan] can understand, e.g. 2022-06-04..-2hours. A single value as -2hours is considered the same as a range -2hours..now.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t -96hours../dev/sdc
Unable to parse time range. Please put it as a range of time specs Tcl's [clock scan] can understand, e.g. 2022-06-04..-2hours. A single value as -2hours is considered the same as a range -2hours..now.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 6hours../dev/sdc
Unable to parse time range. Please put it as a range of time specs Tcl's [clock scan] can understand, e.g. 2022-06-04..-2hours. A single value as -2hours is considered the same as a range -2hours..now.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t <-96hours..>/dev/sdc
bash: -96hours..: No such file or directory
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16 -r 'video/*' -o /mnt/disks/Overflow/xfs_undeleted/ /dev/sdc
This isn't an XFS filesystem or filesystem image.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16 -r 'video/*' -o /mnt/disks/Overflow/ /dev/sdc
This isn't an XFS filesystem or filesystem image.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16 -r 'video/*' -o /mnt/disks/Overflow//dev/sdc
Please specify a block device or an XFS filesystem image.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16..2023-08-18 -r 'video/*' -o /mnt/disks/Overflow/dev/sdc
Please specify a block device or an XFS filesystem image.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16..2023-08-18
Please specify a block device or an XFS filesystem image.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-08-16..2023-08-18/dev/sdc
Unable to parse time range. Please put it as a range of time specs Tcl's [clock scan] can understand, e.g. 2022-06-04..-2hours. A single value as -2hours is considered the same as a range -2hours..now.
root@Tower:~/xfs_undelete-12.0# ./xfs_undelete -t 2023-16-08..2023-18-08/dev/sdc
Unable to parse time range. Please put it as a range of time specs Tcl's [clock scan] can understand, e.g. 2022-06-04..-2hours. A single value as -2hours is considered the same as a range -2hours..now.
root@Tower:~/xfs_undelete-12.0# ^C
root@Tower:~/xfs_undelete-12.0# xfs_undelete -t 2023-08-16 -r 'video/*' -o /mnt/disks/Overflow/xfs_undeleted/ /dev/sdc
bash: xfs_undelete: command not found
root@Tower:~/xfs_undelete-12.0#
Im looking into installing the GNU Coreutils now.