Search Results

Search: Posts Made By: kban
1,474
Posted By kban
Below Sample command to exclude file in the code...
Below Sample command to exclude file in the code itself but i need to get the file names looked up from another file.

find *.* '!' -name 'test1.txt' '!' -name 'text2.txt' -type f -mtime +20

I...
1,474
Posted By kban
Delete files except the file names available in the Except File
Hi,

I need some help in the below scenario.

I need to delete all the files from the directory except the file name available in the Except file.

Like the folder ABC have files like...
Showing results 1 to 2 of 2

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