10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have this code that works great ...
#!/bin/sh
for file in "$@"
do
ext=${file##*.}
base=${file%.*}
num=${base##*v}
zeroes=${num%%*}
num=${num#$zeroes} #remove leading zeros, or it uses octal
num=$((num+1))
base=${base%v*}
... (5 Replies)
Discussion started by: scribling
5 Replies
2. Shell Programming and Scripting
Hi,
I need to get versioning of the branch name dynamically. can you please help us to achieve this functionality.
curl https://altrecmktg.com/artifactory/mediamarketing/release-2.0.1/altrec.tar
curl https://altrecmktg.com/artifactory/mediamarketing/release-2.0.2/altrec.tar
everytime... (5 Replies)
Discussion started by: lkeswar
5 Replies
3. Solaris
is there a way to backup all inodes? (could that help with undeleting files?) (9 Replies)
Discussion started by: orange47
9 Replies
4. UNIX for Advanced & Expert Users
Hi,
In tcsh, I mistakenly deleted some files under a dir with rm *
Is there any way by which I can recover those files (without restoring to an earlier backup point) ?
I mean any command like undelete or anything similar (10 Replies)
Discussion started by: snowline84
10 Replies
5. UNIX for Advanced & Expert Users
Hi
Is there a way by which I can recover the last deleted file file from a folder.
OR
I had a file in a path .(i didnt notice the size at that time ) I tried ftp that file to my windows but got file of zero size.
I want to check whether the file was already empty when I tried ftping it... (1 Reply)
Discussion started by: pratim09
1 Replies
6. Programming
Dear Members,
Do you know any information about versioning a binary file. That means test.out 1.0.0, 1.0.1, 1.1.0, and so on. Can I manually edit version number (both major and minor) and revision number myself (how?) or any utility to set version number (which one?).
Best Regards,
Francesco (2 Replies)
Discussion started by: francescoandrio
2 Replies
7. Solaris
Please correct me if I am wrong... Isnt the only difference between minor releases of Solaris, ex. 9/04 and 9/05, is the patche revs between them? If so, why does the /etc/release info stay static when patched? (4 Replies)
Discussion started by: mhm4
4 Replies
8. UNIX for Dummies Questions & Answers
Hi
Is there any way to restore files accidentally deleted in Unix
(other than rm -i) (10 Replies)
Discussion started by: misenkiser
10 Replies
9. Filesystems, Disks and Memory
Right, a mate of mine screwed up today and deleted the entire contents of a directory and he really needs to get the files back. He's using Red Hat Enterprise Edition 4. The files were deleted using rm *. He can't remember if the hard drive was formatted using ext2 or ext3. Anybody have any idea... (0 Replies)
Discussion started by: Bacchus
0 Replies
10. UNIX for Advanced & Expert Users
Hi All,
I just given $rm abc.pc, I don't have backup also.
is there any way to recover?
thanks in advance
krishna (3 Replies)
Discussion started by: krishna
3 Replies
FOSREAD(1) User Commands FOSREAD(1)
NAME
fosread - FOS reader
SYNOPSIS
fosread [options] device mode [node] [path]
DESCRIPTION
Tool for a read-only access on Smaky FOS.
-h --help
Display help message.
-v --version
Show version.
-a --harddisk
Force an hard disk instead of the autodetection.
-f --floppydisk
Force a floppy disk instead of the autodetection.
-l --fos-logger
Turn ON the FOS logger.
-u --undelete
enable the undelete mode, even deleted files will be listed and sometimes restorable with get mode.
device /dev/fd0 for floppy disk
/dev/sda for hard disk, etc, ...
mode list : list the content of a node
get : copy a file from the Smaky disk in a local directory
node The tree with the file (or folder) for get or list.
example: foo/bar/toto.text
path You can specify a path for save the file (with get mode).
AUTHOR
Written by Mathieu Schroeter <mathieu.schroeter@gamesover.ch>.
REPORTING BUGS
Report bugs to <fosfat-devel@gamesover.ch>.
COPYRIGHT
Copyright (C) 2006-2009 Mathieu Schroeter
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
fosread(1)
fosread July 2009 FOSREAD(1)