Search Results

Search: Posts Made By: Trinimini
2,774
Posted By Trinimini
Highlight directories in path with execute permission for others
Hi all, I'm trying to make a script that takes at the most one argument and lists all directories in the path in a special format:

User Group Other Filename
rwx r-- ...
2,619
Posted By Trinimini
Move same files and issue ls -al command on remaining files
I know I can use an ls -l junk1 command to get a listing of all files in the directory junk1, but I was wondering how I'd go about going through the files in junk1 in a for-in loop and issuing the ls...
16,874
Posted By Trinimini
Copy all files in 1 directory to another usinge for-in loop
I was looking to get some help with copying files in one directory to another using a for-in loop. My script file is called copyfile and here is what I have:
for file in $(ls -a $1)
do
cp...
3,995
Posted By Trinimini
Alright, your solution works perfectly. Thank...
Alright, your solution works perfectly. Thank you.

By the way: My bad.
1,269
Posted By Trinimini
Checking for same file
I was wondering if there is a way to to check if two files are the same. I've tried writing a script called samefile, which takes in two arguments (files) and attempts to compare them to see if...
3,995
Posted By Trinimini
Checking for same file name
I was wondering if there is a way to to check if two files are the same. I've tried writing a script called samefile, which takes in two arguments (files) and attempts to compare them to see if...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 08:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy