10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Team,
I am new to shell script and there is a requirement where files should be moved from Subfolder to parent folder.
Eg:
parent folder --> /Interface/data/test/IN
Sub folder -->/Interface/data/test/IN/Invoice20180607233338
Subfolder will be always with timestamp... (6 Replies)
Discussion started by: srivarun15
6 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Please help me i have a file directory in .txt. inside this directory is a list of names of folders to find inside in a folder.
to make more easy to understand
below is my list inside .txt:
foldernameA
foldernameB
foldernameC
I need to check if those folder names are inside... (1 Reply)
Discussion started by: cmarzan
1 Replies
3. UNIX for Dummies Questions & Answers
I would like to confirm my file.tar is been tar-ed correctly before I remove them. But I have very limited disc space to untar it.
Can I just do the listing instead of actual extract it? Can I say confirm folder integrity if the listing is sucessful without problem?
tar tvf file1.tar
... (1 Reply)
Discussion started by: vivien_chu
1 Replies
4. Shell Programming and Scripting
Hi. I have a problem, could you help me ?
Situation:
there are alot of files in directory_1, with the names like "notneeded1blabla.bla", "notveryneededblabla.gla".
there is directory_2 that has directories with names like that: "bla_needed1", "blab_veryneeded".
What i need so much is to place... (7 Replies)
Discussion started by: sw_and
7 Replies
5. Shell Programming and Scripting
Hi all,
I have created a function that looks for a folder in a particular directory, checks the date it was last modified and if its old then compress it.
This works fine for files using gzip. However for folders I had to use tar. This is my function:
compressOldFolder()
{
# $1 is... (10 Replies)
Discussion started by: TasosARISFC
10 Replies
6. UNIX for Dummies Questions & Answers
How do I create individual tars of a all the directories in a directory? I have a directory called 'patients', each patient has a directory in the patients directory. I want to create tars such that each patient has their own tar file.
Thanks! (5 Replies)
Discussion started by: HappyPhysicist
5 Replies
7. UNIX for Dummies Questions & Answers
Hello guys,
I am sure this has been asked before, but honestly, I cant find post talking about it.
Here is what I need:
- A tar file will be generated manually by user
- This tar file is then used within a bash shell script
My source folder structure is like this:
... (2 Replies)
Discussion started by: manolain
2 Replies
8. Solaris
Hi ,
i use below command to create a jar from /home/surya
jar -cvf foldername.jar jarfolderpath
foldrename.jar= directorywhere jar file needs to be created including jar file name
jarfolderpath: directory which needs to be included to create a jar
Now taking below scenario:... (1 Reply)
Discussion started by: surya.jena
1 Replies
9. Shell Programming and Scripting
This is the file structure:
DESKTOP/Root of Photo Folders/Folder1qweqwasdfsd/*jpg
DESKTOP/Root of Photo Folders/Folder2asdasdasd/*jpg
DESKTOP/Root of Photo Folders/Folder3asdadfhgasdf/*jpg
DESKTOP/Root of Photo Folders/Folder4qwetwdfsdfg/*jpg
DESKTOP/Root of Photo... (4 Replies)
Discussion started by: guptaxpn
4 Replies
10. Solaris
Hi,
How to extract a tar.gz file and put it under a designated folder that I specify in a one line command?
thank you in advance. (3 Replies)
Discussion started by: melanie_pfefer
3 Replies