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