Clearcase tool - how to Copy a folder of a particular date


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Clearcase tool - how to Copy a folder of a particular date
# 1  
Old 08-10-2005
Clearcase tool - how to Copy a folder of a particular date

Hi,

Can we get code of a particular day from the Clearcase?
If it is possible how we can do it? What is the method?

- Push
# 2  
Old 08-19-2005
Looking at ClearCase times past

Hi Push,

You need to modify the config spec for the ClearCase view you are using. The config spec governs which versions of any file/directory you see in your view. In particular you will probably want to use the following rule:

time <date-time>
<your existing rules for choosing branches or labels>
end time

Note that if you are doing this to a previously-created snapshot view (vs. dynamic view or new snapshot view) you will need to reload the view after changing the config spec, and that may affect any work you had in progress in the view.

See the ClearCase man page for "config_spec" for details on its use.

Hope this helps,
Dan
# 3  
Old 08-19-2005
One more thing: the time rule cannot show history that has been removed from the ClearCase database (using commands like cleartool rmver, rmelem, etc...). This is why most ClearCase admins limit the use of such history-destructive commands.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

UNIX script to replace old date with current date dynamically in multiple files present in a folder

I am trying to work on a script where it is a *(star) delimited file has a multiple lines starts with RTG and 3rd column=TD8 I want to substring the date part and I want to replace with currentdate minus 15 days. Here is an example. iam using AIX server $ cat temp.txt RTG*888*TD8*20180201~... (1 Reply)
Discussion started by: Shankar455
1 Replies

2. Shell Programming and Scripting

Delete oldest folder based on folder named as date

Hi, I have a script doing backup to synology server, the script create new folder each day with the date as being folder name i.e. 2018-07-30. Just before creating the new folder I want the script to find the oldest folder from the list and delete it including its content. for example... (3 Replies)
Discussion started by: humble_learner
3 Replies

3. Shell Programming and Scripting

Date Compare tool

Hello Guys, Just joined today with a simple task i guess. I need to write a shell script which takes input from users which is a date and should be able to compare the date differences between the dates keeping in mind the leap year and all. Kindly Guide :) :D (9 Replies)
Discussion started by: barryallen
9 Replies

4. Shell Programming and Scripting

Script to copy creation date over top of modified date?

Can someone draw up a script that for every file, folder and subfolder and files that will copy the creation date over top of the modified date?? I know how to touch every file recursively, but no idea how to read a files creation date then use that to touch the modification date of that file,... (3 Replies)
Discussion started by: toysareforboys
3 Replies

5. Shell Programming and Scripting

How to copy files with the same filenames as those in another folder to that same folder?

Hello All A similar question like this was asked before but I need to change part of the question. I've two folders, Folder A contains some image files in 150 subfolders; Folder B contains text files in 350 subfolders. All image files in Folder A have the same filename as the text... (5 Replies)
Discussion started by: chlade
5 Replies

6. Shell Programming and Scripting

copy folder and its contents to another folder

Hi experts, I am coming to you with this basic question on copying a folder and its content from one location to another folder using PERL script. This is my requirement. I have a folder AB under /users/myhome I want to copy AB and its contents to /user/workspace. Finally it should... (1 Reply)
Discussion started by: amvarma77
1 Replies

7. UNIX for Dummies Questions & Answers

using date tool in bash

date --date='10:30am + 1 hour' +%H:%M 11:30 produces date --date='10:30pm + 1 hour' +%H:%M produces 23:30 I want to do the following: TIME="1:30pm" date --date='$TIME + 1 hour' + %H:%M to produce 14:30 (1 Reply)
Discussion started by: efittery
1 Replies

8. Shell Programming and Scripting

Find all text files in folder and then copy to a new folder

Hi all, *I use Uwin and Cygwin emulator. I´m trying to search for all text files in the current folder (C/Files) and its sub folders using find -depth -name "*.txt" The above command worked for me, but now I would like to copy all found text files to a new folder (C/Files/Text) with ... (4 Replies)
Discussion started by: cgkmal
4 Replies

9. UNIX for Advanced & Expert Users

Auto copy for files from folder to folder upon instant writing

Hello all, I'm trying to accomplish that if a file gets written to folder /path/to/a/ it gets automatically copied into /path/to/b/ the moment its get written. I thought of writing a shell script and cron it that every X amount of minutes it copies these files over but this will not help me... (2 Replies)
Discussion started by: Bashar
2 Replies

10. Linux

How to make a tool as 30-days evalution copy

Hi All, I am very curious to know that how to make a product/tool as evalution copy(trail version for 30days). I want to know this implemention process in linux(the tool is in Linux). If anybody have any scripts/articles/ideas please pass them to me. Please help me. Thanks in Advace,... (0 Replies)
Discussion started by: uday123
0 Replies
Login or Register to Ask a Question