Sponsored Content
Top Forums UNIX for Advanced & Expert Users CVS command to revert deleted files Post 302656789 by Hammadi dali on Friday 15th of June 2012 11:58:52 AM
Old 06-15-2012
Hi
Try this
PHP Code:
cvs add <yourfilename>
cvs commit <yourfilename
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Is there a way to recover files deleted using rm command???

Hi All, I just mistakingly deleted some files using rm command.Is there a way to get it back?i work on Solaris 10 Thanks, Kumar (1 Reply)
Discussion started by: kumarsaravana_s
1 Replies

2. Shell Programming and Scripting

Extraction of latest files from cvs repository

Hi everyone.. Anybody having idea to get the latest file from CVS repository through schell scripts. Thanks in advance. Regards shahid Bakshi (4 Replies)
Discussion started by: shahidbakshi
4 Replies

3. Shell Programming and Scripting

Problem in editing files in eclipse with cvs

I am using CVS repositories with eclipse. I successfully created CVS Repositories with in eclipse. But I have a big problem, I am unable to edit any of the files in our project. I think it is due to read only property of the file. I also read the given link ... (2 Replies)
Discussion started by: sufyanfzd
2 Replies

4. Linux

how to get passwd command again if it is deleted by usin rm command

hai friends i have deleted passwd command using rm command i thought it will come again at the time of rebooting but it is completely deleted how to get it worked again (5 Replies)
Discussion started by: venkata.ganesh
5 Replies

5. UNIX for Dummies Questions & Answers

Alias, function or script (bash) to "revert" cd command?

In all of my brief and superficial experience with Unix or Linux, the one curious and consistent thing has been that 'cd ./' (back up one directory level) has done absolutely nothing in any of them. Now I understand that, at least for bash, 'cd ./' appears to have been substituted by 'cd ..' Am... (1 Reply)
Discussion started by: SilversleevesX
1 Replies

6. UNIX for Dummies Questions & Answers

rm command-outputting files as they are deleted?

Solaris 10/Korn Hi unix experts!, Is it possible to output the actual file names to a file as they are being deleted via the rm command? Context: Im executing the shell script at the command line and directing the output to an output file eg purgescript.ksh > output.lst within the... (3 Replies)
Discussion started by: satnamx
3 Replies

7. UNIX for Advanced & Expert Users

Restoring files from CVS !

I have accidently removed a file using the command rm -r "file.txt" (I have removed it locally !) I need to restore the file.txt to my existing CVS version.How can I do it ? Please help. Thank you. :wall: (5 Replies)
Discussion started by: gameboy87
5 Replies

8. Shell Programming and Scripting

How to redirect the output of a cvs command to a file as well as the console.

Hi can anyone tell me how to redirect the ouput of a cvs command to a file as well as the console? i tried using cvs add <filename> | tee logFile cvs add <filename> 2>logFile 2>&1 All i could get is only on console or on file. Please help Thanks (2 Replies)
Discussion started by: ankitag2010
2 Replies

9. Shell Programming and Scripting

Find and move files parsed from cvs file

I need help with a bash script. We have a directory of files which need to be renamed and moved to another directory based on filename information in a cvs file. The contents of the cvs file are as follows: A102345,abc123 A102347,dfg475 Where dfg475 is the basename without extension Our... (8 Replies)
Discussion started by: Lloyd Boyette
8 Replies

10. UNIX for Dummies Questions & Answers

Need to revert default prompt in Linux after setting PS1 command

I have given as: PS1="Karthick>" in linux. Now the prompt changed as: Karthick> Now I need to get back the default prompt . How to achieve this? Thanks in advance (13 Replies)
Discussion started by: karthick nath
13 Replies
CVS-SWITCHROOT(1)					    BSD General Commands Manual 					 CVS-SWITCHROOT(1)

NAME
cvs-switchroot -- change repository or tag in a cvs working copy SYNOPSIS
cvs-switchroot [-T] newroot [file ...] cvs-switchroot [-T] - srcpath [file ...] DESCRIPTION
The cvs-switchroot utility manipulates a CVS working copy directly, modifying the information stored in the administrative subdirectory and saving space by hardlinking if possible. If the -T option is given, the sticky tag is operated on, otherwise, the repository path (CVSROOT). The information (Tag or Root) is set to the same as in srcpath if the first non-option argument newroot is a sole dash ('-'), the literal value newroot otherwise. EXAMPLES
Change all Root information in the current sandbox to /cvs: $ cvs-switchroot /cvs . Set all roots in the current working directory and all its subdirectories to the Root of the parent directory: $ cvs-switchroot - .. . Hardlink the Tag information in the current working directory, for example /usr/src, and /usr/ports with each other: $ cvs-switchroot -T - . . /usr/ports SEE ALSO
cvs(1) HISTORY
cvs-switchroot has existed in the MirBSD source tree since 2005. It was added to Debian's cvs package in 2011. CAVEATS
cvs-switchroot depends on mksh. BSD
June 10, 2011 BSD
All times are GMT -4. The time now is 08:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy